summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* further fix for #29543: fix parser leaks caused by croakingDave Mitchell2006-12-291-0/+4
| | | p4raw-id: //depot/perl@29636
* With PAD_COMPNAME_GEN in SvUVX, SvCUR is trustworthy once more.Nicholas Clark2006-12-281-9/+11
| | | p4raw-id: //depot/perl@29633
* Move PAD_COMPNAME_GEN from SvCUR to SvUVX.Nicholas Clark2006-12-281-1/+1
| | | p4raw-id: //depot/perl@29632
* Fix #6006 for taint mode too.Rafael Garcia-Suarez2006-12-231-0/+1
| | | p4raw-id: //depot/perl@29619
* A better fix for RT #6006: revert change 29616, which was bogus,Rafael Garcia-Suarez2006-12-231-6/+7
| | | | | | | | and add OP_SCOPE to the list of "dangerous" ops that might appear on the right side of s///. However, this fix does not work under taint mode, and op/subst.t has -T. p4raw-id: //depot/perl@29617
* Fix RT #6006: Regexp replaces using large replacement variables failRafael Garcia-Suarez2006-12-231-4/+6
| | | | | | | | some of the time (i.e. when the substitution contains something like ${10}). Patch derived from a patch by Hugo van der Sanden; added also a second test (Yves Orton already added a TODO test for this.) p4raw-id: //depot/perl@29616
* Re: [PATCH] do not meddle in the affairs of PERL_TRACK_MEMPOOLJarkko Hietaniemi2006-12-181-14/+2
| | | | | | | Message-ID: <4586084E.8040706@iki.fi> Introduce CopLABEL() macro to deal with labels attached to COPs. p4raw-id: //depot/perl@29585
* don't include MAD code when its not neededDave Mitchell2006-12-161-3/+6
| | | p4raw-id: //depot/perl@29561
* Silence a VC compiler warningSteve Hay2006-12-141-1/+1
| | | p4raw-id: //depot/perl@29553
* misc MAD coredump fixes and parser leak fixesDave Mitchell2006-12-131-1/+3
| | | | | | | | | - 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
* fix double free introduced by #29543 (spotted by Nicholas)Dave Mitchell2006-12-131-3/+17
| | | p4raw-id: //depot/perl@29547
* fix parser leaks caused by croaking while shifting or reducingDave Mitchell2006-12-131-0/+12
| | | | | | | e.g. these no longer leak: eval q[my $x; local $x] while 1; eval q[$s = sub <> {}] while 1; p4raw-id: //depot/perl@29543
* Verify that the debugger has an array where to store lines beforeRafael Garcia-Suarez2006-12-011-4/+7
| | | | | | | 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
* Cleanup regexp flags and structureYves Orton2006-11-231-1/+1
| | | | | Message-ID: <9b18b3110611230336p3ce3b16du47cd5398dea8d873@mail.gmail.com> p4raw-id: //depot/perl@29360
* More safety in free()sRafael Garcia-Suarez2006-11-231-1/+5
| | | p4raw-id: //depot/perl@29359
* Unify the two warnings "Can't declare %s in %s", in line with what'sRafael Garcia-Suarez2006-11-201-1/+1
| | | | | documented in perldiag. p4raw-id: //depot/perl@29330
* Re: thread free problemJerry D. Hedden2006-11-201-1/+10
| | | | | | From: "Jerry D. Hedden" <jdhedden@yahoo.com> Message-ID: <696736.39963.qm@web30204.mail.mud.yahoo.com> p4raw-id: //depot/perl@29329
* This volatile modifier is not on the referent, but on the pointerRafael Garcia-Suarez2006-11-021-1/+1
| | | | | (see change 28606) p4raw-id: //depot/perl@29190
* Re: $, and sayGisle Aas2006-11-021-10/+0
| | | | | | | | Message-ID: <lrek2t1e8n.fsf@caliper.activestate.com> with tweaks so "say;" continues to default to $_ plus a regression test p4raw-id: //depot/perl@29187
* VOL should be used instead of volatile in the core.Steve Peters2006-10-301-2/+2
| | | p4raw-id: //depot/perl@29157
* Plug a memory leak in newCONSTSUBRafael Garcia-Suarez2006-10-251-0/+1
| | | p4raw-id: //depot/perl@29107
* stab at UNITCHECK blocksAlexander Gough2006-10-191-1/+10
| | | | | Message-ID: <20061019120412.GA12290@the.earth.li> p4raw-id: //depot/perl@29053
* Allow the _ prototype character to be followed by optional argumentsRafael Garcia-Suarez2006-10-191-1/+1
| | | p4raw-id: //depot/perl@29048
* The _ character is only allowed to be at the end of prototypesRafael Garcia-Suarez2006-10-181-0/+3
| | | p4raw-id: //depot/perl@29036
* Improvements and fixes to the _ prototypeRafael Garcia-Suarez2006-10-181-7/+7
| | | p4raw-id: //depot/perl@29035
* First attempt at implementing the _ prototypeRafael Garcia-Suarez2006-10-171-0/+7
| | | p4raw-id: //depot/perl@29032
* Re: [PATCH] Add hook for re_dup() into regex engine as reg_dupe (make re ↵Yves Orton2006-09-291-1/+1
| | | | | | | pluggable under threads) Message-ID: <9b18b3110609290341p11767110sec20a6fee2038a00@mail.gmail.com> p4raw-id: //depot/perl@28900
* Use %^H instead of $^H for the assertions pragmaRafael Garcia-Suarez2006-09-081-2/+9
| | | p4raw-id: //depot/perl@28808
* Change the generation of {} and [] from 3 ops to 1, and avoid 1 mortalNicholas Clark2006-08-311-4/+4
| | | | | | | on the tempstack, by augmenting pp_anonlist and pp_anonhash to accept OPf_SPECIAL to mean "return a reference to the aggregate" on the stack rather than the aggregate itself. p4raw-id: //depot/perl@28771
* 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++ stage 1 reachedJarkko Hietaniemi2006-08-081-39/+25
| | | | | Message-ID: <44D7AA6B.4040802@iki.fi> p4raw-id: //depot/perl@28674
* g++ large patchJarkko Hietaniemi2006-08-071-26/+40
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* Clear up most of the VC6 compiler warnings in the following smoke:Steve Hay2006-07-271-1/+1
| | | | | http://www.nntp.perl.org/group/perl.daily-build.reports/39733 p4raw-id: //depot/perl@28626
* Add another volatile modifier to protect against longjmp clobberingRafael Garcia-Suarez2006-07-231-1/+1
| | | p4raw-id: //depot/perl@28606
* Clear up a few more warnings from blead.Steve Peters2006-07-131-1/+1
| | | p4raw-id: //depot/perl@28565
* Fix the implementation of list assignment to state().Rafael Garcia-Suarez2006-07-071-11/+28
| | | p4raw-id: //depot/perl@28499
* Add a new warning, "State variable %s will be reinitialized"Rafael Garcia-Suarez2006-07-061-4/+10
| | | p4raw-id: //depot/perl@28496
* Implement handling of state variables in list assignmentRafael Garcia-Suarez2006-07-051-0/+7
| | | p4raw-id: //depot/perl@28489
* Fix a bug on setting OPpASSIGN_COMMON on a AASSIGN op when the leftRafael Garcia-Suarez2006-07-051-2/+0
| | | | | | side is made out a list declared with our(). In this case OPpLVAL_INTRO isn't set on the left op, so we just remove that check. Add new tests. p4raw-id: //depot/perl@28488
* remove some unnecessary uses of WITH_THRDave Mitchell2006-07-021-4/+4
| | | p4raw-id: //depot/perl@28465
* Proper use of enumsAndy Lester2006-06-121-5/+5
| | | | | Message-ID: <20060612034434.GA21588@petdance.com> p4raw-id: //depot/perl@28381
* Abolish cop_io (the simple way) by storing the value in cop_hints_hash.Nicholas Clark2006-05-201-16/+0
| | | | | | Todo - store the in and out values under 2 keys, and avoid the need to create a temporary mortal SV while checking it. p4raw-id: //depot/perl@28258
* Move the hints from op_private into cop_hints. This allows all 32 bitsNicholas Clark2006-05-201-1/+1
| | | | | | to be stored. Make B::Concise display the new hints field, and modify B::Deparse to use it. p4raw-id: //depot/perl@28257
* Rename cop_hints to cop_hints_hashNicholas Clark2006-05-201-8/+9
| | | p4raw-id: //depot/perl@28252
* Abolish cop_arybase. Signal a non zero $[ with a hint flag, and storeNicholas Clark2006-05-201-1/+2
| | | | | the value in the hints structure used for %^H. p4raw-id: //depot/perl@28250
* disable WARN and DIE hooks during constant foldingDave Mitchell2006-05-101-7/+11
| | | p4raw-id: //depot/perl@28148
* Change 28145 means that Perl_allocmy() can take a const char *name.Nicholas Clark2006-05-091-1/+1
| | | p4raw-id: //depot/perl@28146
* Simplify the non-printable name error reporting code in Perl_allocmy().Nicholas Clark2006-05-091-23/+4
| | | p4raw-id: //depot/perl@28145
* Fix another Coverity problem by adding an assert that says thatRafael Garcia-Suarez2006-05-091-0/+1
| | | | | some string we got from the lexer is null-terminated p4raw-id: //depot/perl@28137
* Fix a logic error in conditional found by CoverityRafael Garcia-Suarez2006-05-091-3/+4
| | | p4raw-id: //depot/perl@28136