summaryrefslogtreecommitdiff
path: root/toke.c
Commit message (Collapse)AuthorAgeFilesLines
* Add "state" featureRafael Garcia-Suarez2006-05-031-1/+1
| | | p4raw-id: //depot/perl@28087
* Introduce a new keyword, state, for state variables.Rafael Garcia-Suarez2006-05-031-47/+64
| | | p4raw-id: //depot/perl@28086
* toke.c: function pointer to data pointerJarkko Hietaniemi2006-05-021-4/+8
| | | | | Message-Id: <200605020525.k425Ptik165705@kosh.hut.fi> p4raw-id: //depot/perl@28055
* more -ansi -pedantic cleanlinessJarkko Hietaniemi2006-04-291-4/+4
| | | | | Message-ID: <44532024.9070303@gmail.com> p4raw-id: //depot/perl@28010
* reduce gcc -ansi -pedantic noise plus a suggestionJarkko Hietaniemi2006-04-281-5/+5
| | | | | Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008
* Re: [PATCH] use snprintf/strlcpy/strlcat when usefulJarkko Hietaniemi2006-04-281-0/+4
| | | | | Message-ID: <444E3EFB.8020503@gmail.com> p4raw-id: //depot/perl@27987
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-1/+1
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* [perl #38475] attribute multiline fix (in tokenizer) Bas van Sisseren2006-04-241-7/+18
| | | | | | From: bas@quarantainenet.nl (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-38475-129844.11.5904582303176@perl.org> p4raw-id: //depot/perl@27948
* Cleanup some gcc warningsMarcus Holland-Moritz2006-04-241-2/+2
| | | | | | | Third and fourth patches from: Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2 Message-ID: <20060423044704.6a383ee8@r2d2> p4raw-id: //depot/perl@27946
* A couple of casts to PADOFFSET.Marcus Holland-Moritz2006-04-241-2/+2
| | | | | | | 2nd patch from : Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2 Message-ID: <20060423044704.6a383ee8@r2d2> p4raw-id: //depot/perl@27945
* Fix compilation of microperl, which doesn't have INT_MAX.Nicholas Clark2006-04-191-1/+8
| | | p4raw-id: //depot/perl@27895
* Coverity is upset about a signed int in ext/Filter/Util/Call/Call.xs,Nicholas Clark2006-04-171-5/+10
| | | | | but the real problem is down in Perl_filter_read() in toke.c. p4raw-id: //depot/perl@27877
* Abstract all the accesses to cop_arybase (apart from ByteLoader)Nicholas Clark2006-04-021-1/+1
| | | p4raw-id: //depot/perl@27671
* Random accumulated patchesAndy Lester2006-03-311-38/+45
| | | | | Message-ID: <20060331054228.GA18940@petdance.com> p4raw-id: //depot/perl@27641
* 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