summaryrefslogtreecommitdiff
path: root/perly.y
Commit message (Collapse)AuthorAgeFilesLines
* latest switch/say/~~Robin Houston2005-12-191-1/+28
| | | | | 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-0/+1
| | | | | | | 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
* Fix the overriding of CORE::do, just like change 25599Rafael Garcia-Suarez2005-09-271-1/+1
| | | | | was fixing the overriding of CORE::require p4raw-id: //depot/perl@25616
* CORE::require was always parsed as require().Rafael Garcia-Suarez2005-09-261-1/+5
| | | | | | | | | | | 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
* Remove the last STRLEN n_a;s that my compiler can reach.Nicholas Clark2005-09-211-1/+1
| | | p4raw-id: //depot/perl@25530
* Allow non-arrowed form of chained subscripts after slicesYitzchak Scott-Thoennes2005-09-131-4/+4
| | | | | | | | | | 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
* More SvPV constingNicholas Clark2005-06-081-1/+1
| | | p4raw-id: //depot/perl@24746
* while (my $x ...) { ...; redo } shouldn't undef $x.Dave Mitchell2005-05-071-13/+16
| | | | | | | 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-1/+2
| | | | | | 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
* minor corrections to comments in perly.yDave Mitchell2005-01-301-2/+2
| | | p4raw-id: //depot/perl@23900
* Turn regcomp into a list opDave Mitchell2004-10-101-4/+2
| | | p4raw-id: //depot/perl@23357
* Add comment to top of reentr.c and fix typos in other filesDave Mitchell2004-08-011-1/+1
| | | p4raw-id: //depot/perl@23180
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+9
| | | p4raw-id: //depot/perl@23176
* fix some comments in perly.yDave Mitchell2004-03-261-3/+3
| | | p4raw-id: //depot/perl@22592
* [perl #25824] Segmentation fault withDave Mitchell2004-02-151-5/+9
| | | | | 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-60/+4
| | | | | process p4raw-id: //depot/perl@22302
* Fix bug [perl #24762] : C<*foo{CODE} ? 1 : 0> was a syntax errorRafael Garcia-Suarez2003-12-271-1/+2
| | | p4raw-id: //depot/perl@21986
* Reverse copyright update (#18801) for files not changed in 2003.Hugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18807
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Reverse #18285, for reasons given in:Hugo van der Sanden2002-12-231-1/+1
| | | | | | Subject: Re: Precedence of ? : Message-Id: <200212200035.gBK0ZRm29309@crypt.compulink.co.uk> p4raw-id: //depot/perl@18336
* Re: Precedence of ? :Stephen McCamant2002-12-111-1/+1
| | | | | Message-Id: <20021210055707.974F073CCC@syllepsis> p4raw-id: //depot/perl@18285
* Remove package; (Heh heh.)Abhijit Menon-Sen2002-09-291-2/+0
| | | p4raw-id: //depot/perl@17942
* Defined-or patch (cleaned up)Brent Dax2002-08-051-2/+6
| | | | | | From: "Brent Dax" <brentdax@cpan.org> Message-id: <000001c234a1$d1ca72c0$6501a8c0@deepblue> p4raw-id: //depot/perl@17682
* fixes for all the warnings reported by Visual C (most of thisGurusamy Sarathy2002-04-211-12/+12
| | | | | | change is from change#12026) p4raw-link: @12026 on //depot/maint-5.6/perl: ff42b73b40f5a895aef4bed81c794f468e0609bc p4raw-id: //depot/perl@16048
* yfix fix for VMS (was YYDEBUG etc.)Craig A. Berry2002-03-251-1/+1
| | | | | | From: "Craig A. Berry" <craig.berry@SignalTreeSolutions.com> Message-Id: <5.1.0.14.2.20020325135745.01aeabc0@exchi01> p4raw-id: //depot/perl@15506
* Re: what is YYDEBUG and why does it reset errno?Rafael Garcia-Suarez2002-03-251-1/+1
| | | | | | | Message-ID: <20020325113317.A1410@rafael> Apparently VMS does not do YYDEBUG. p4raw-id: //depot/perl@15486
* Copyright++. (Not all the toplevel *.h have one, it seems.)Jarkko Hietaniemi2002-01-231-1/+1
| | | p4raw-id: //depot/perl@14391
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-1/+1
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Perly.y and related file fixes to keep mainframe yacc (and bison) happy.Nick Ing-Simmons2001-06-191-12/+16
| | | p4raw-id: //depot/perl@10707
* perly.y overhaulSimon Cozens2001-06-101-109/+162
| | | | | | | Message-ID: <20010610165654.A16597@deep-dark-truthful-mirror.pmb.ox.ac.uk> Plus make run_byacc. p4raw-id: //depot/perl@10501
* Integrate change #10394 from maintperl; lexical file scope leakage.Jarkko Hietaniemi2001-06-031-2/+2
| | | | | | | | | p4raw-link: @10394 on //depot/maint-5.6/perl: f8a08f7b8bd67b287f13d07e110e93e62aebd509 p4raw-id: //depot/perl@10395 p4raw-integrated: from //depot/maint-5.6/perl@10393 'copy in' t/pragma/warn/universal (@5902..) 'merge in' perly.c (@8159..) vms/perly_c.vms (@8169..) t/op/misc.t (@8636..) perly.y (@9292..)
* Tweak to perly.y to allow -DDEBUGGING to compile on OS390.Nick Ing-Simmons2001-03-191-1/+3
| | | | | | (Building on OS390 uses native YACC and YYDEBUG has other side effects.) p4raw-id: //depot/perlio@9248
* Re: [ID 20010309.004] my-variables lose values while goto'ing within a ↵Robin Houston2001-03-141-6/+13
| | | | | | | for(;;)-loop Message-ID: <20010314004345.A15892@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@9139
* Re: [ PATCH perl@8956 ] new debug option -DR shows ref countsDave Mitchell2001-03-091-1/+1
| | | | | Message-Id: <200103081206.MAA06281@tiree.fdgroup.co.uk> p4raw-id: //depot/perl@9084
* RE: [PATCH perl@8269] Corrections for Perl_yylex_r (used by a reentrant ↵Roca, Ignasi2001-01-231-0/+1
| | | | | | | parser as Bison) Message-ID: <5930DC161690D21196670090271575470397E915@madt009a.siemens.es> p4raw-id: //depot/perl@8532
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* Make scan_num() reëntrant, as suggested inRoca, Ignasi2000-10-201-1/+1
| | | | | | Subject: [PATCH perl@7229] Rentrant parser and yylex() Message-ID: <5930DC161690D211966700902715754702DA09CD@madt009a.siemens.es> p4raw-id: //depot/perl@7382
* set SvUTF8 on vectors only if there are chars > 127; update copyrightGurusamy Sarathy2000-02-061-1/+1
| | | | | years (from Gisle Aas) p4raw-id: //depot/perl@5009
* s/STOP/CHECK/ blocksGurusamy Sarathy2000-01-261-1/+1
| | | p4raw-id: //depot/perl@4905
* fix bug in change#4515 (STOP blocks now see @ARGV like the rest)Gurusamy Sarathy1999-11-141-1/+1
| | | | | p4raw-link: @4515 on //depot/perl: 4f25aa189c4a92535547c706ad37c13b7caee387 p4raw-id: //depot/perl@4578
* various cleanupsGurusamy Sarathy1999-10-121-16/+1
| | | p4raw-id: //depot/perl@4350
* revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-1/+16
| | | | | | compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339
* change#3728 was flawed (loop contexts saw the wrong statementGurusamy Sarathy1999-10-071-1/+1
| | | | | | | | | | | | | info, causing loop control constructs to not find the label); disable OP_SETSTATE entirely and add a fix that is specifically targetted at disabling the OP_LINESEQ optimization in else BLOCK, which was what the original patch was supposed to fix TODO: remove the remainder of the setstate logic if it can't be used anywhere else (it isn't used anywhere now) p4raw-link: @3728 on //depot/perl: 7399586d384137f7ae66bcc82a83b0df7dd429e5 p4raw-id: //depot/perl@4309
* sub : attrlistSpider Boardman1999-08-291-15/+83
| | | | | | To: Mailing list Perl5 <perl5-porters@perl.org> Message-Id: <199908290702.DAA32191@Orb.Nashua.NH.US> p4raw-id: //depot/cfgperl@4043
* allow arrow omission in $foo[10]->('foo') etc. (but not inStephen McCamant1999-07-261-45/+63
| | | | | | | foo()->()); rework grammar to remove conflicts Message-ID: <14232.54970.771570.548676@alias-2.pr.mcs.net> Subject: [PATCH _57, long] Re: optional arrow asymmetry p4raw-id: //depot/perl@3767
* remove spurious newSTATEOP() that causes goto to enter one too manyGurusamy Sarathy1999-07-181-2/+1
| | | | | contexts when jumping between if and elsif blocks p4raw-id: //depot/perl@3692
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-5/+2
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* distinguish eval'' from BEGIN|INIT|END CVs (fixes buggy propagationGurusamy Sarathy1999-02-181-2/+2
| | | | | of lexical searches in BEGIN|INIT|END) p4raw-id: //depot/perl@2975
* applied suggested patch; regen perly* and vms/perly*Stephen McCamant1999-02-071-0/+4
| | | | | | Message-ID: <13939.26706.620683.846776@fre-76-120.reshall.berkeley.edu> Subject: [PATCH] Re: Suggestion for perlobj man page p4raw-id: //depot/perl@2823
* another threads reliability fix: serialize writes to thr->threadsvGurusamy Sarathy1998-11-291-1/+1
| | | | | | | | avoid most uses of PL_na (which is much more inefficient than a simple local); update docs to suit; PL_na now being thr->Tna may be a minor compatibility issue for extensions--will require dTHR outside of XSUBs (those get automatic dTHR) p4raw-id: //depot/perl@2387