summaryrefslogtreecommitdiff
path: root/toke.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix leaks in label strings allocation in COPsRafael Garcia-Suarez2006-12-201-1/+1
| | | p4raw-id: //depot/perl@29601
* move parser state into new parser object, PL_parserDave Mitchell2006-12-181-2/+2
| | | p4raw-id: //depot/perl@29570
* misc MAD coredump fixes and parser leak fixesDave Mitchell2006-12-131-1/+1
| | | | | | | | | - fix MAD coredump in tr/// - fix mad coredump in multi-line string literals - kill some MAD uninit value warnings - don't allow assignment to $n in perly.y - make op_dump handle op_latefree flags p4raw-id: //depot/perl@29548
* Verify that the debugger has an array where to store lines beforeRafael Garcia-Suarez2006-12-011-45/+38
| | | | | | | doing so. This fixes an assertion failure when parsing a script that begins with '#!perl -d'. Also, code factorization in toke.c. p4raw-id: //depot/perl@29429
* Fix a bug in the debugger tracing variables when one was eval'ingRafael Garcia-Suarez2006-11-131-5/+6
| | | | | | | a string including a "#line" directive containing the actual name of the file already. (following-up change #25409) p4raw-link: @25409 on //depot/perl: e66cf94c7069ec9c7bdb94d5438988fe7012771f p4raw-id: //depot/perl@29263
* [perl #40718] perl parser bug leading to memory corruptionDave Mitchell2006-11-081-5/+3
| | | | | | quoted-string parser naughtily maintained a pointer into an SV which could get realloc()ed. p4raw-id: //depot/perl@29239
* eval $undef should emit one warning, not three.Dave Mitchell2006-11-021-6/+4
| | | | | Also ensure that eval $undef clears $@ (it did, but only by luck) p4raw-id: //depot/perl@29193
* say() has the same syntax than print(), so forbid to override itRafael Garcia-Suarez2006-11-021-1/+1
| | | | | (like print()) p4raw-id: //depot/perl@29191
* Silence a warning and call readpipe_override() correctly.Rafael Garcia-Suarez2006-10-311-3/+3
| | | p4raw-id: //depot/perl@29170
* Make S_readpipe_override() compile with threads; regenerate perlapi.podRafael Garcia-Suarez2006-10-311-3/+3
| | | p4raw-id: //depot/perl@29169
* Make readpipe() overridable (and also `` and qx//)Rafael Garcia-Suarez2006-10-311-4/+38
| | | p4raw-id: //depot/perl@29168
* stab at UNITCHECK blocksAlexander Gough2006-10-191-1/+17
| | | | | Message-ID: <20061019120412.GA12290@the.earth.li> p4raw-id: //depot/perl@29053
* Functions with a (_) prototype should behave as unary operatorsRafael Garcia-Suarez2006-10-181-1/+1
| | | | | (which is not the case of functions with a (;$) prototype) p4raw-id: //depot/perl@29041
* First attempt at implementing the _ prototypeRafael Garcia-Suarez2006-10-171-1/+1
| | | p4raw-id: //depot/perl@29032
* Less brace nesting.Rafael Garcia-Suarez2006-10-171-16/+15
| | | p4raw-id: //depot/perl@29028
* remove leaveit from toke.c:scan_constSADAHIRO Tomoyuki2006-10-161-13/+5
| | | | | Message-Id: <20061015222223.BC38.BQW10602@nifty.com> p4raw-id: //depot/perl@29026
* Re: SVpvs vs SVpvnJim Cromie2006-10-131-25/+25
| | | | | | | Message-ID: <452FED1D.1000504@gmail.com> plus the last newSVpvn() in toke.c that his regexp missed. p4raw-id: //depot/perl@29011
* Don't bother checking for bad characters in prototypes if we're notRafael Garcia-Suarez2006-10-131-13/+16
| | | | | going to warn about them. p4raw-id: //depot/perl@29008
* Re: [PATCH] Initial attempt at named captures for perls regexp engineYves Orton2006-10-071-1/+1
| | | | | Message-ID: <9b18b3110610061016x5ddce965u30d9a821f632d450@mail.gmail.com> p4raw-id: //depot/perl@28957
* deal with some gcc warningsJarkko Hietaniemi2006-09-211-2/+2
| | | | | Message-ID: <45122C6F.9080904@iki.fi> p4raw-id: //depot/perl@28877
* prototype() wasn't working to get the prototype of optional coreRafael Garcia-Suarez2006-09-201-19/+19
| | | | | | | keywords (like say, err, given.) Fix this by adding a parameter to Perl_keyword to always get the keyword number, even if the feature isn't in effect. p4raw-id: //depot/perl@28874
* Re: \N{...} in regular expression [PATCH]Yves Orton2006-09-191-2/+8
| | | | | Message-ID: <9b18b3110609181637m796d6c16o1b2741edc5f09eb2@mail.gmail.com> p4raw-id: //depot/perl@28868
* Typo fix in #ifdefRafael Garcia-Suarez2006-09-071-1/+1
| | | p4raw-id: //depot/perl@28804
* A couple const's and a cast to get Sun CC to compile these files.Steve Peters2006-08-091-1/+1
| | | | | Perl, however, still will not build with the Sun CC. p4raw-id: //depot/perl@28686
* g++ large patchJarkko Hietaniemi2006-08-071-36/+62
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* interpolation of @- (and @+) in patterns ([perl #27940] comes back)SADAHIRO Tomoyuki2006-07-261-3/+8
| | | | | Message-Id: <20060725001517.3C5D.BQW10602@nifty.com> p4raw-id: //depot/perl@28620
* Revert part of last change, that was causing utf8 test failuresRafael Garcia-Suarez2006-07-231-1/+1
| | | p4raw-id: //depot/perl@28608
* z/OS: pp_sys.c, reg*.c, toke.c, utf8.cJarkko Hietaniemi2006-07-231-10/+98
| | | | | Message-ID: <44C24994.6020008@iki.fi> p4raw-id: //depot/perl@28607
* comment update for scan_constSADAHIRO Tomoyuki2006-07-151-23/+29
| | | | | Message-Id: <20060715201552.9FA5.BQW10602@nifty.com> p4raw-id: //depot/perl@28583
* Revert bogus fix for bug #27940, which wasn't really a bug,Rafael Garcia-Suarez2006-07-111-1/+1
| | | | | and a new test item, as found and suggested by Sadahiro Tomoyuki. p4raw-id: //depot/perl@28548
* Convert some low hanging fruit to my_strlcpy/my_strlcat.Steve Peters2006-07-101-1/+1
| | | p4raw-id: //depot/perl@28533
* toke.c consting and localizingAndy Lester2006-07-041-4/+3
| | | | | Message-ID: <20060703224250.GA14481@petdance.com> p4raw-id: //depot/perl@28476
* Fix a couple of compilation warningsRafael Garcia-Suarez2006-06-301-2/+2
| | | p4raw-id: //depot/perl@28456
* <toke.c> isALNUM(*s) && *s != '_'Dr.Ruud2006-06-211-2/+1
| | | | | | From: "Dr.Ruud" <rvtol+news@isolution.nl> Message-ID: <20060621000237.24398.qmail@lists.develooper.com> p4raw-id: //depot/perl@28413
* Change 28404 broke the construct s/foo/<<BAR/e. So, try to be moreRafael Garcia-Suarez2006-06-201-1/+3
| | | | | | | clever. If the right hand side of s///e contains a #, then maybe it's a comment, so add a \n after it. Obviously, this is fast, but won't cover all possible cases. p4raw-id: //depot/perl@28409
* [perl #39365] Bug in toke.c (eval in subst) Ben Carter2006-06-201-1/+1
| | | | | | | | From: bcarter@gumdrop.flyinganvil.org (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-39365-134716.18.9775670722527@perl.org> plus a regression test. p4raw-id: //depot/perl@28404
* Accumulated toke.c cleanupsAndy Lester2006-06-061-52/+78
| | | | | Message-ID: <20060606050736.GA30291@petdance.com> p4raw-id: //depot/perl@28357
* Re: [PATCH] my_snprintfJarkko Hietaniemi2006-05-121-5/+1
| | | | | Message-ID: <4464E1F1.9010706@gmail.com> p4raw-id: //depot/perl@28183
* Proper use of static funcs in toke.c and pp_sys.cAndy Lester2006-05-121-7/+5
| | | | | Message-ID: <20060509172730.GA5272@petdance.com> p4raw-id: //depot/perl@28179
* 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