summaryrefslogtreecommitdiff
path: root/toke.c
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate :unique even with threadsRafael Garcia-Suarez2006-03-141-1/+1
| | | p4raw-id: //depot/perl@27499
* Make usage of :unique emit a deprecation warning.Rafael Garcia-Suarez2006-03-141-2/+4
| | | | | Remove its outdated documentation. p4raw-id: //depot/perl@27498
* isSPACE('\0') is false, so can simplify the condition in the forNicholas Clark2006-03-111-2/+2
| | | | | | loop. As the for loop is basically a while loop, write it as one, to make its intentions clearer. p4raw-id: //depot/perl@27480
* Localizing some vars in S_checkcommaAndy Lester2006-03-111-4/+4
| | | | | | Message-ID: <20060310223100.GA13455@petdance.com> Date: Fri, 10 Mar 2006 16:31:00 -0600 p4raw-id: //depot/perl@27469
* Move the 12 static MAD variables from toke.c into the interpeterNicholas Clark2006-03-101-14/+0
| | | | | structure. p4raw-id: //depot/perl@27466
* Rename the 12 static variables in toke.c to PL_*Nicholas Clark2006-03-101-331/+331
| | | p4raw-id: //depot/perl@27465
* Summon constman! S_checkcomma now has all 3 arguments const char.Nicholas Clark2006-03-101-11/+6
| | | p4raw-id: //depot/perl@27459
* Tease apart the keyword/subroutine test in S_checkcomma.Nicholas Clark2006-03-101-1/+7
| | | p4raw-id: //depot/perl@27458
* Superior *printf-fu lets us avoid modifying source code.Nicholas Clark2006-03-091-7/+2
| | | p4raw-id: //depot/perl@27452
* -Dmad works, albeit with some test failures:Nicholas Clark2006-03-091-3/+7
| | | | | | | | | ext/B/t/f_sort.t 20 5 25.00% 2 4-6 16 ext/B/t/optree_samples.t 20 1 5.00% 18 ext/List/Util/t/weak.t 1 256 22 1 4.55% 22 ext/Safe/t/safeops.t 0 134 354 288 81.36% 211-354 lib/warnings.t 561 2 0.36% 3 10 p4raw-id: //depot/perl@27450
* The remainder of the toke.c MAD changes. Now to investigate why MADNicholas Clark2006-03-091-36/+1118
| | | | | no longer builds. p4raw-id: //depot/perl@27445
* Another refactoring from Larry implicit in the MAD patch.Nicholas Clark2006-03-091-2/+2
| | | p4raw-id: //depot/perl@27444
* Refactoring from Larry implicit in the MAD patch.Nicholas Clark2006-03-091-7/+8
| | | p4raw-id: //depot/perl@27443
* Replace PL_nextval[PL_nexttoke].opval with the macro NEXTVAL_NEXTTOKENicholas Clark2006-03-091-27/+31
| | | | | as MAD conditionally changes this consistently in 27 places. p4raw-id: //depot/perl@27442
* MAD changes for bare skipspace()Nicholas Clark2006-03-091-35/+142
| | | p4raw-id: //depot/perl@27439
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-4/+4
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* unused context warningsAndy Lester2006-02-241-2/+3
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300
* Replace direct flags tests & manipulations for SVpad_TYPED andNicholas Clark2006-02-231-2/+2
| | | | | | SVpad_OUR with macros SvPAD_TYPED(), SvPAD_OUR() etc, to abstract away the flags bits acutally used to store this information. p4raw-id: //depot/perl@27294
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-201-3/+3
| | | p4raw-id: //depot/perl@27238
* Sun Studio lint patchesAndy Lester2006-02-141-1/+1
| | | | | Message-ID: <20060214054617.GA8824@petdance.com> p4raw-id: //depot/perl@27177
* Fix breakage in S_set_csh() from change #27136.Steve Peters2006-02-091-0/+2
| | | | | p4raw-link: @27136 on //depot/perl: 5f66b61cbe1f2ea985f00c0d9a66153e7a3b6ee1 p4raw-id: //depot/perl@27140
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-24/+26
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* And as we've now got to the point where all calls to Perl_moreswitchesNicholas Clark2006-02-031-6/+1
| | | | | | | have -1 as the second argument, we can remove the second argument, which gets us back to where we started, only with the elimination of a per-thread variable. p4raw-id: //depot/perl@27075
* Eliminating PL_suidscript is more tricky, and requires changing theNicholas Clark2006-02-031-1/+6
| | | | | prototype of Perl_moreswitches. p4raw-id: //depot/perl@27070
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-20/+20
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* Re: [PATCH] s/Null(av|ch)/NULL/gSteven Schubiger2006-02-021-23/+23
| | | | | Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org> p4raw-id: //depot/perl@27054
* gv_fetchpvn_flags ranks highly in the profile, and the ::/' scanningNicholas Clark2006-02-021-7/+9
| | | | | | | loop is iterated over millions of times. Add a flag GV_NOTQUAL purely as an optimisation, when the caller is passing in a string that is known not to contain any package separators. p4raw-id: //depot/perl@27053
* Make Perl_gv_fetchpvn_flags actually heed the passed in length.Nicholas Clark2006-01-311-2/+2
| | | | | This means that \0 bytes in symbolic references now work. p4raw-id: //depot/perl@27028
* Silence another Irix compiler warning.Nicholas Clark2006-01-301-2/+5
| | | p4raw-id: //depot/perl@27006
* Call gv_fetchpvn_flags where we already know the length.Nicholas Clark2006-01-281-17/+21
| | | p4raw-id: //depot/perl@26989
* Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.Nicholas Clark2006-01-281-6/+6
| | | | | Many strlen()s saved. p4raw-id: //depot/perl@26983
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-16/+16
| | | | | | | | Keep NEWSV() itself for backwards-compatibility outside of the core, but don't advertise it any more. (cf. change #25101). p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada p4raw-id: //depot/perl@26901
* defined %foo::bar:: wasn't working like it used to do in evalsRafael Garcia-Suarez2006-01-161-15/+15
| | | | | (and, consequently, when require'ing modules.) p4raw-id: //depot/perl@26867
* A few more places that can use hv_fetchs().Gisle Aas2006-01-111-2/+2
| | | | | Ref change 26676. p4raw-id: //depot/perl@26795
* Missing an initialisation, as spotted by Merijn's HP compiler.Nicholas Clark2006-01-101-0/+1
| | | p4raw-id: //depot/perl@26767
* Move initialization of old values prior to moreswitches()Gisle Aas2006-01-101-4/+4
| | | | | closer to their use and together with 'switches_done'. p4raw-id: //depot/perl@26765
* It's the Barbie bus patchAndy Lester2006-01-101-44/+40
| | | | | Message-ID: <20060110054243.GA26165@petdance.com> p4raw-id: //depot/perl@26764
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+50
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* Remove code duplicated a few lines above by change 19695.Gisle Aas2006-01-061-8/+0
| | | p4raw-id: //depot/perl@26673
* Make the new STR_WITH_LEN() affected compile under -Dusethreads.Gisle Aas2006-01-041-1/+1
| | | | | Can't use STR_WITH_LEN() as argument to a macro :-( p4raw-id: //depot/perl@26649
* Add an extra NUL so that we can use sv_catpvs()Gisle Aas2006-01-041-4/+1
| | | | | | for "our @F=split..." and get rid of 15 and the explaination for why it's there. p4raw-id: //depot/perl@26648
* Introduce the macros newSVpvs(str) and sv_catpvs(sv, str).Gisle Aas2006-01-041-25/+25
| | | | | Gets rid of many hardcoded string lengths. p4raw-id: //depot/perl@26641
* Removed unused part of string passed to sv_catpvn().Gisle Aas2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26640
* Introduce STR_WITH_LEN macro in the form suggested by Chip.Gisle Aas2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26635
* silence some compiler warningsDave Mitchell2006-01-031-7/+8
| | | p4raw-id: //depot/perl@26598
* Update copyrights for files modified in 2006Rafael Garcia-Suarez2006-01-021-1/+1
| | | p4raw-id: //depot/perl@26562
* Get rid of length argument for the FEATURE_IS_ENABLED() macro.Gisle Aas2006-01-011-10/+10
| | | p4raw-id: //depot/perl@26561
* Making 0 pointers to NULLsAndy Lester2006-01-011-5/+5
| | | | | Message-ID: <20051231050558.GA29093@petdance.com> p4raw-id: //depot/perl@26558
* av.c cleanup, plus!Andy Lester2005-12-291-1/+1
| | | | | Message-ID: <20051228214414.GD26033@petdance.com> p4raw-id: //depot/perl@26526
* Use memchr() instead of ninstr() to locate the end-of-line.Gisle Aas2005-12-281-2/+1
| | | | | The call to memchr() will faster. p4raw-id: //depot/perl@26512