summaryrefslogtreecommitdiff
path: root/toke.c
Commit message (Collapse)AuthorAgeFilesLines
* make the expensive ckWARN() be called as late as possibleDave Mitchell2005-07-131-26/+26
| | | | | | | | reorganise if (ckWARN(FOO) && should_not_happen_condition) to if (should_not_happen_condition && ckWARN(FOO)) p4raw-id: //depot/perl@25129
* Making my way thru embed.fncAndy Lester2005-07-101-2/+2
| | | | | Message-ID: <20050710193635.GC8081@petdance.com> p4raw-id: //depot/perl@25107
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-10/+10
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* Post-YAPC consting, now with an attachment!Andy Lester2005-07-041-4/+5
| | | | | Message-ID: <20050703233156.GA20967@petdance.com> p4raw-id: //depot/perl@25067
* We're going round in circles with pp_sys.cAndy Lester2005-06-271-25/+25
| | | | | | | Message-ID: <20050627180659.GB29744@petdance.com> (edited) p4raw-id: //depot/perl@24997
* Silence another bcc32 compiler warningSteve Hay2005-06-231-1/+1
| | | | | ("Possible use of '%s' before definition") p4raw-id: //depot/perl@24944
* ternary operator cond ? foo : bar being parsed as ?...?Salvador FandiƱo2005-06-211-2/+6
| | | | | | | Message-ID: <20050617130548.18776.qmail@lists.develooper.com> with wordings improvements suggested by Ronald J Kimball p4raw-id: //depot/perl@24920
* Removing /*SUPPRESS xxx*/Andy Lester2005-06-161-3/+0
| | | | | Message-ID: <20050616141342.GA22188@petdance.com> p4raw-id: //depot/perl@24871
* More SvPV consting. And other related drive-by refactoring.Nicholas Clark2005-06-101-15/+17
| | | p4raw-id: //depot/perl@24800
* instead of unions use double cast for data pointer <-> function pointerJarkko Hietaniemi2005-06-091-23/+6
| | | | | Message-ID: <42A7D8C0.1080104@gmail.com> p4raw-id: //depot/perl@24770
* Nuke some more n_a, and convert S_gv_ename from char * to const char *Nicholas Clark2005-06-081-2/+1
| | | p4raw-id: //depot/perl@24760
* More SvPV constingNicholas Clark2005-06-071-1/+1
| | | p4raw-id: //depot/perl@24744
* More SvPV consting.Nicholas Clark2005-06-071-1/+1
| | | p4raw-id: //depot/perl@24740
* Random cleanups #47Andy Lester2005-06-071-1/+1
| | | | | Message-ID: <20050606151107.GC7022@petdance.com> p4raw-id: //depot/perl@24735
* [perl #36193] crash in Perl_yyerror due to missing check for NULL Todd C. Miller2005-06-071-4/+5
| | | | | | From: "Todd C. Miller" (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-36193-115243.12.1531563965146@perl.org> p4raw-id: //depot/perl@24718
* Unvoid SvUPGRADEAndy Lester2005-06-071-2/+2
| | | | | Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
* Clean up UNI* macros in toke.cAndy Lester2005-06-031-16/+20
| | | | | Message-ID: <20050603171448.GA5834@petdance.com> p4raw-id: //depot/perl@24701
* Use newSVhek where we're generating SVs from package namesNicholas Clark2005-06-031-9/+3
| | | p4raw-id: //depot/perl@24697
* Random constingAndy Lester2005-06-031-2/+2
| | | | | Message-ID: <20050602171943.GA16553@petdance.com> p4raw-id: //depot/perl@24689
* 24672 is innocent. valgrind + perl's malloc considered harmful.Nicholas Clark2005-06-021-5/+11
| | | p4raw-id: //depot/perl@24677
* Changes 24660 and 24665 both introduced errors into the USEMYMALLOCNicholas Clark2005-06-021-7/+5
| | | | | | code. Plus change 24672 appears to break under USEMYMALLOC, so revert it for now. p4raw-id: //depot/perl@24676
* Avoid duplicate calls to PAD_COMPNAME_OURSTASH, which is an expensiveNicholas Clark2005-06-021-5/+7
| | | | | macro. p4raw-id: //depot/perl@24672
* Quotes fixed, see also perl #36079Andy Lester2005-06-021-1/+1
| | | | | Message-ID: <20050602050238.GA4001@petdance.com> p4raw-id: //depot/perl@24666
* Store the package name as a shared HEK.Nicholas Clark2005-05-261-3/+6
| | | | | | | | Abolish HvNAME() - as the stored pointer is not a char* you can't set it directly now. Storing a pointer to a HEK tracks the length too, and seems to be faster. p4raw-id: //depot/perl@24584
* embed.fnc cleanup + SvPVX_const usageAndy Lester2005-05-241-1/+1
| | | | | Message-ID: <20050521140640.GB875@petdance.com> p4raw-id: //depot/perl@24561
* The tokenizer should expect an operator after qw().Rafael Garcia-Suarez2005-05-241-0/+1
| | | | | This fixes [perl #35885] qw and x operators doesn't mix p4raw-id: //depot/perl@24560
* Move hv_name, hv_eiter and hv_riter into a new aux structure.Nicholas Clark2005-05-211-4/+4
| | | | | | Provide (more efficient) _get and _set macros. Adjust the core to use them. p4raw-id: //depot/perl@24526
* SvPVX_const() - Patch #1Steve Peters2005-05-201-32/+32
| | | | | Message-ID: <20050517231701.GA1394@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24509
* consting-eleventy.patch: More consts, plus actual bug fixAndy Lester2005-05-161-1/+1
| | | | | Message-ID: <20050516151353.GA25387@petdance.com> p4raw-id: //depot/perl@24489
* Silence DEBUGGING compilation warningsRafael Garcia-Suarez2005-05-121-3/+6
| | | p4raw-id: //depot/perl@24452
* SvUPGRADE doesn't return false.Rafael Garcia-Suarez2005-05-121-2/+1
| | | p4raw-id: //depot/perl@24451
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* potential [PATCH] Tru64 crank up strictnessJarkko Hietaniemi2005-05-101-3/+20
| | | | | Message-Id: <4ADE5AAD-27CB-4F9E-BEC7-41DAA7671108@iki.fi> p4raw-id: //depot/perl@24444
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-1/+1
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* s/sv_setpv(sv,"")/sv_setpvn(sv,"",0)/Nicholas Clark2005-05-101-4/+4
| | | | | plus a couple of 1 byte sv_setpv()s too. p4raw-id: //depot/perl@24439
* attributes-two.patch, the next batchAndy Lester2005-05-091-63/+55
| | | | | Message-ID: <20050509154518.GA18273@petdance.com> p4raw-id: //depot/perl@24431
* Sv_*set() doc's and extra const's for the SvPVX_const() tasksSteve Peters2005-05-091-1/+1
| | | | | Message-ID: <20050509014917.GA24132@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24422
* combopatchJarkko Hietaniemi2005-04-251-1/+1
| | | | | Message-ID: <426BFA57.9060105@iki.fi> p4raw-id: //depot/perl@24318
* Symbian port of PerlJarkko Hietaniemi2005-04-211-17/+26
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Refactoring to Sv*_set() macros - patch #5Steve Peters2005-04-191-2/+2
| | | | | | Message-ID: <20050419000925.GA21640@mccoy.peters.homeunix.org> Date: Mon, 18 Apr 2005 19:09:25 -0500 p4raw-id: //depot/perl@24248
* SvPV_renew also calls SvLEN_setNicholas Clark2005-04-181-4/+11
| | | | | | Add SvPV_shrink_to_cur(sv) to call SvPV_renew with SvCUR(sv)+1. For Ponie this can be a single call into the PMC p4raw-id: //depot/perl@24245
* Replace Renew(SvPVX(...)...) with SvPV_renew, which avoids an LVALUENicholas Clark2005-04-181-3/+3
| | | | | SvPVX p4raw-id: //depot/perl@24244
* -Wformat Robin Barker2005-04-131-2/+2
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90849C634@hotel.npl.co.uk> p4raw-id: //depot/perl@24233
* Refactoring to Sv*_set() macros - patch #2Steve Peters2005-04-081-9/+9
| | | | | Message-ID: <20050407185149.GA4418@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24204
* Refactoring to Sv*_set() macros - patch #1Steve Peters2005-04-081-1/+1
| | | | | | Message-ID: <20050406232110.GA12249@mccoy.peters.homeunix.org> Date: Wed, 6 Apr 2005 18:21:10 -0500 p4raw-id: //depot/perl@24199
* Add casting to allow g++ (3.3.5) to compile the core code.Nicholas Clark2005-04-051-1/+1
| | | | | | A C++ compiler produces lots of warnings that are probably valid concerns to investigate. p4raw-id: //depot/perl@24170
* Consting fiveAndy Lester2005-03-251-5/+5
| | | | | | | | Message-ID: <20050325231409.GB17660@petdance.com> [with modification - the extra argument to incpush was supposed to be being used] p4raw-id: //depot/perl@24081
* Consting part 4Andy Lester2005-03-251-8/+12
| | | | | Message-ID: <20050325204331.GA16388@petdance.com> p4raw-id: //depot/perl@24079
* Forbid the -C option on the command-lineRafael Garcia-Suarez2005-03-221-1/+1
| | | | | as suggested by Merijn (see [perl #34087]) p4raw-id: //depot/perl@24070
* More consting goodnessAndy Lester2005-03-211-44/+44
| | | | | Message-ID: <20050319072830.GA7721@petdance.com> p4raw-id: //depot/perl@24049