summaryrefslogtreecommitdiff
path: root/overload.pl
Commit message (Collapse)AuthorAgeFilesLines
* Add a new overload type, "qr".Ben Morrow2009-11-011-0/+1
|
* update comment in overload.pl following 813720522fDavid Mitchell2009-06-101-1/+1
|
* overload.pl shouldnt update its output unconditionallyJim Cromie2009-06-061-3/+5
| | | | | | | | | | fix overload.pl to use rename_if_different, imitating reentr.pl (including commenting safer_unlink rather than scrubbing it). Leave lib/overload/number.pm unconditionally generated, since it is not a dependency for make perl With this, "make regen perl; make regen perl" will recompile at most 1x. In turn, this improves utility of regen as an added default make target.
* Add some documentation to the heads of the various *.pl build scriptsDavid Mitchell2009-05-151-3/+12
|
* Add new overloading type.Ben Morrow2009-03-251-0/+1
|
* Fix overload index mismatch in overloading logic.Vincent Pit2009-01-021-2/+2
| | | | In amagic_call(), the 'method' arg comes the overload enum in overload.h, but is expected to match the bit set from %overloading::numbers::names. It values wrongly start at 1, differing by 1 from the enum indexes. This didn't appear in the tests because 'method' was reduced modulo 7 instead of 8.
* 'overloading' pragmaYuval Kogman2009-01-021-1/+43
|
* Make PL_AMG_names and PL_AMG_namelens staticJan Dubois2008-04-041-2/+2
| | | | | | From: "Jan Dubois" <jand@activestate.com> Message-ID: <02c401c895f6$369e8130$a3db8390$@com> p4raw-id: //depot/perl@33645
* Drag autodoc.pl and overload.pl into the age of safer_open().Nicholas Clark2008-03-171-13/+11
| | | | | | | | Thanks to the wisdom of london.pm, stuff the filename into the SCALAR slot of the typeglob created in safer_open(), so that ... Add safer_close(), that will die (with the filename) if the close fails. p4raw-id: //depot/perl@33539
* make miniperl -Wwrite-strings cleanRobin Barker2007-12-201-1/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399A@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@32681
* In Perl_amagic_call(), construct the SV with newSVpvn(), as we now knowNicholas Clark2007-10-181-0/+1
| | | | | the length. (Not sure why I didn't spot this one during change 32124.) p4raw-id: //depot/perl@32132
* Storing the length of all the overloading names saves a strlen() in aNicholas Clark2007-10-171-2/+14
| | | | | | loop in Perl_Gv_AMupdate(). Brought to you by the Campaign for the Elimination of strlen(). p4raw-id: //depot/perl@32124
* PL_AMG_names is only used by gv.c (as far as Google code search canNicholas Clark2007-10-161-12/+25
| | | | | | | see), so it can easily be a static variable inside gv.c. This allows the implementation to be changed in future Perls within the 5.10.x series. p4raw-id: //depot/perl@32116
* Add 2007 copyrights in a few more .pl files thatRafael Garcia-Suarez2007-01-061-2/+2
| | | | | generate code (thanks to Jarkko) p4raw-id: //depot/perl@29704
* Fix typo spotted by Rafael. Close the file handle explicity and checkNicholas Clark2006-10-061-1/+3
| | | | | for errors. Add overload.pl to regen.pl p4raw-id: //depot/perl@28951
* Generate the overload enum and names array programatically, whichNicholas Clark2006-10-061-0/+153
allows experimentation with the order. The new order shaves nearly 900 bytes from gv.o, because the compiler can make smaller branch tables for switch statements. p4raw-id: //depot/perl@28950