summaryrefslogtreecommitdiff
path: root/perly.tab
Commit message (Collapse)AuthorAgeFilesLines
* stop OPs leaking in eval "syntax error"Dave Mitchell2006-05-271-0/+27
| | | | | | | | When bison pops states during error recovery, any states holding an OP would leak the OP. Create an extra YY table that tells us which states are of type opval, and when popping one of those, free the op. p4raw-id: //depot/perl@28315
* stop eval "sub{" leakingDave Mitchell2006-05-261-15/+15
| | | p4raw-id: //depot/perl@28314
* Add the MAD change to perly.y, which brings a new PEG token.Nicholas Clark2006-03-091-563/+567
| | | p4raw-id: //depot/perl@27437
* latest switch/say/~~Robin Houston2005-12-191-721/+737
| | | | | Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26400
* The new REQUIRE token introduced by change 25599 must beRafael Garcia-Suarez2005-10-131-25/+25
| | | | | | | nonassoc, just like the UNIOP token it's patterned after. (While we're at it, allow to use bison 2.1 to regenerate the parser files.) p4raw-id: //depot/perl@25746
* CORE::require was always parsed as require().Rafael Garcia-Suarez2005-09-261-620/+634
| | | | | | | | | | | That's because require() isn't overridable at tokenizer-level like other overridable built-ins, but is handled by the optree builder. So, find a way to pass the information that require() was written as CORE::require() to Perl_ck_require. This is done by adding a new token type REQUIRE and by adding OPf_SPECIAL to OP_REQUIRE when it's saw as CORE::require in the program text. This fixes bug [perl #37274] The "CORE" in CORE::require is ignored. p4raw-id: //depot/perl@25599
* Allow non-arrowed form of chained subscripts after slicesYitzchak Scott-Thoennes2005-09-131-71/+71
| | | | | | | | | | Subject: Re: [perl #37039] perlref documentation about optional -> is too vague Date: Thu, 1 Sep 2005 17:41:36 -0700 Message-ID: <20050902004136.GA2656@efn.org> Date: Mon, 5 Sep 2005 08:10:20 -0700 Message-ID: <20050905151020.GA3556@efn.org> p4raw-id: //depot/perl@25399
* while (my $x ...) { ...; redo } shouldn't undef $x.Dave Mitchell2005-05-071-418/+422
| | | | | | | In the presence of 'my' in the conditional of a while(), until(), or for(;;) loop, add an extra scope to the body so that redo doesn't undef the lexical p4raw-id: //depot/perl@24412
* [perl #34101] not() || 1 produces segmentation faultMarcus Holland-Moritz2005-02-101-32/+32
| | | | | | Fixed by making not() behave like not(0). This is also the way not() behaved before it started segfaulting in 5.6.0. p4raw-id: //depot/perl@23960
* Turn regcomp into a list opDave Mitchell2004-10-101-454/+425
| | | p4raw-id: //depot/perl@23357
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-21/+21
| | | p4raw-id: //depot/perl@23176
* [perl #25824] Segmentation fault withDave Mitchell2004-02-151-623/+624
| | | | | sub x { shift; @a = @b; eval +{ use } } p4raw-id: //depot/perl@22306
* Switch from byacc to bison and simplify the perly.* regenerationDave Mitchell2004-02-141-0/+876
process p4raw-id: //depot/perl@22302