summaryrefslogtreecommitdiff
path: root/perly.c
Commit message (Collapse)AuthorAgeFilesLines
* fix eval qw(BEGIN{die}) style leaks.Dave Mitchell2006-05-271-3/+53
| | | | | | | death while exdcuting code while parsing meant that the current parse stack got quiety abandonded, thus leaking a bunch of OPs. Register a destructor to be called when this happens. p4raw-id: //depot/perl@28319
* make -Dpv display OP names ons the parser stackDave Mitchell2006-05-271-6/+15
| | | p4raw-id: //depot/perl@28316
* stop OPs leaking in eval "syntax error"Dave Mitchell2006-05-271-0/+8
| | | | | | | | 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
* Add the madly parser. I believe that this is all the C code. Now toNicholas Clark2006-03-091-3/+3
| | | | | find the bugs that stowed away. p4raw-id: //depot/perl@27447
* Make MAD at least compile and link once more. Although it's now failingNicholas Clark2006-03-081-3/+3
| | | | | 6 regression tests. p4raw-id: //depot/perl@27429
* Further MAD changes.Nicholas Clark2006-03-081-0/+9
| | | p4raw-id: //depot/perl@27428
* cleaning up perly.cAndy Lester2006-02-171-9/+2
| | | | | Message-ID: <20060213050455.GA27993@petdance.com> p4raw-id: //depot/perl@27208
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-3/+3
| | | | | | | | Keep NEWSV() itself for backwards-compatibility outside of the core, but don't advertise it any more. (cf. change #25101). p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada p4raw-id: //depot/perl@26901
* Update copyright years (including some years where we made changes butNicholas Clark2006-01-081-1/+1
| | | | | did not update) p4raw-id: //depot/perl@26732
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+1
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* Missed a New() -> Newx().Steve Hay2005-07-121-1/+1
| | | | | | | | This one only had 3 args to start with! Presumably nobody uses YYERROR_VERBOSE. (The yystpcpy() calls don't look right either, but someone else that is interested in YYERROR_VERBOSE will have to look into that.) p4raw-id: //depot/perl@25119
* regcomp.c and moreAndy Lester2005-06-091-0/+2
| | | | | Message-ID: <20050609150556.GA30554@petdance.com> p4raw-id: //depot/perl@24780
* Quotes fixed, see also perl #36079Andy Lester2005-06-021-4/+4
| | | | | Message-ID: <20050602050238.GA4001@petdance.com> p4raw-id: //depot/perl@24666
* VMS build update for bleadCraig A. Berry2005-05-291-2/+2
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-Id: <429942A6.10601@mac.com> p4raw-id: //depot/perl@24613
* SvPVX_const - patch #2Steve Peters2005-05-211-2/+2
| | | | | Message-Id: <20050521024210.GA29036@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24523
* 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
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-0/+10
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* Removing yydestruct from perly.cAndy Lester2005-04-131-36/+6
| | | | | Message-ID: <20050413150647.GA13464@petdance.com> p4raw-id: //depot/perl@24236
* -Wformat Robin Barker2005-04-131-2/+2
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90849C634@hotel.npl.co.uk> p4raw-id: //depot/perl@24233
* Third consting batchAndy Lester2005-03-241-6/+6
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* make the bison-based parser threadsafe and capable of deepDave Mitchell2004-02-281-12/+12
| | | | | recursion by eradicating Perl_yylex_r() p4raw-id: //depot/perl@22408
* Enable v (verbose) switch on -Dp to display the top 8 elementsCraig A. Berry2004-02-141-35/+100
| | | | | | | | | | | on the parser stack at each reduce. Also, Subject: Re: switch from byacc to bison From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <craigberry-8058A3.13264414022004@onion.develooper.com> change #if DEBUGGING to #ifdef ... in perly.c p4raw-id: //depot/perl@22305
* Switch from byacc to bison and simplify the perly.* regenerationDave Mitchell2004-02-141-2609/+626
| | | | | process p4raw-id: //depot/perl@22302
* Fix bug [perl #24762] : C<*foo{CODE} ? 1 : 0> was a syntax errorRafael Garcia-Suarez2003-12-271-104/+105
| | | p4raw-id: //depot/perl@21986
* Reverse #18285, for reasons given in:Hugo van der Sanden2002-12-231-288/+288
| | | | | | Subject: Re: Precedence of ? : Message-Id: <200212200035.gBK0ZRm29309@crypt.compulink.co.uk> p4raw-id: //depot/perl@18336
* Re: Precedence of ? :Stephen McCamant2002-12-111-288/+288
| | | | | Message-Id: <20021210055707.974F073CCC@syllepsis> p4raw-id: //depot/perl@18285
* Remove package; (Heh heh.)Abhijit Menon-Sen2002-09-291-1245/+1240
| | | p4raw-id: //depot/perl@17942
* Defined-or patch (cleaned up)Brent Dax2002-08-051-1185/+1293
| | | | | | 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
* taint + deprecated warningsPaul Marquess2002-03-041-1/+1
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLCEKGDOAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15003
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-6/+2
| | | | | 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-241/+241
| | | p4raw-id: //depot/perl@10707
* Add new step to run_byacc which:Nick Ing-Simmons2001-06-141-4/+4
| | | | | | A. Corrects #line NNN "perly.c" lines so warnings etc. are trackable B. Adds extra () to the two if (var = ...) constructs gcc -Wall winges about. p4raw-id: //depot/perlio@10586
* One more run_byacc (a hand-tweaked version had slipped in).Jarkko Hietaniemi2001-06-111-5/+3
| | | p4raw-id: //depot/perl@10510
* Update perly_c.diff, update perly.fixer to edit awayJarkko Hietaniemi2001-06-101-4/+6
| | | | | some of the -Wall noise. p4raw-id: //depot/perl@10503
* perly.y overhaulSimon Cozens2001-06-101-1286/+1321
| | | | | | | 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-190/+192
| | | | | | (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-201/+206
| | | | | | | 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
* 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
* fix small eval"" memory leaks under USE_ITHREADSGurusamy Sarathy2000-06-021-0/+6
| | | p4raw-id: //depot/perl@6194
* 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
* remove VIRTUAL tag, PERL_OBJECT doesn't need it anymoreGurusamy Sarathy1999-11-041-1/+0
| | | p4raw-id: //depot/perl@4511
* various cleanupsGurusamy Sarathy1999-10-121-17/+22
| | | p4raw-id: //depot/perl@4350
* revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-21/+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