summaryrefslogtreecommitdiff
path: root/perly.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* sub : attrlistSpider Boardman1999-08-291-1384/+1437
| | | | | | 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-1266/+1321
| | | | | | | 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
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-16/+24
| | | p4raw-id: //depot/perl@3660
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-16/+4
| | | | | | | | | | | | 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
* perly_c.diff typoGurusamy Sarathy1999-02-141-1/+1
| | | p4raw-id: //depot/perl@2909
* applied suggested patch; regen perly* and vms/perly*Stephen McCamant1999-02-071-769/+802
| | | | | | 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
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-11/+11
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* remove spurious unused conflicting globals (PL_yy{v,s}sp)Gurusamy Sarathy1998-10-061-2/+0
| | | p4raw-id: //depot/perl@1924
* make C<use> recognize C<require> overrides; allow C<do EXPR> to beGurusamy Sarathy1998-10-031-1/+1
| | | | | overridden p4raw-id: //depot/perl@1923
* move yyglobal decls from perly.c to perlvars.h, regen headers, tweakGurusamy Sarathy1998-09-241-14/+15
| | | | | perly_c.diff p4raw-id: //depot/perl@1864
* support OE/MVSJarkko Hietaniemi1998-08-021-169/+171
| | | | | | Message-Id: <199808010903.MAA09371@alpha.hut.fi> Subject: [PATCH] 5.005_01: OE MVS p4raw-id: //depot/maint-5.005/perl@1697
* PL_ prefix to all perlvars, part1Nick Ing-Simmons1998-07-181-28/+28
| | | | | Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT p4raw-id: //depot/ansiperl@1532
* Added patch, regenerated perly.c and perly.c.diffStephen McCamant1998-06-101-63/+62
| | | | | | Message-Id: <m0ygCL8-000Eb3C@alias-2.pr.mcs.net> Subject: [PATCH] too many RV2GVs in *foo{THING} p4raw-id: //depot/perl@1112
* [asperl] integrate mainline changesGurusamy Sarathy1998-04-081-2/+2
|\ | | | | p4raw-id: //depot/asperl@884
| * [BUG+PATCH] _62 with -DDEBUGGING and -DuseperlioJan-Pieter Cornet1998-03-161-11/+11
| | | | | | p4raw-id: //depot/perl@819
* | [asperl] various changes to get asperl working under BorlandGurusamy Sarathy1998-03-161-9/+9
| | | | | | | | | | (passes all tests when built under PERL_OBJECT) p4raw-id: //depot/asperl@809
* | [win32] integrate mainline changesGurusamy Sarathy1998-03-071-1232/+1225
|\ \ | |/ | | p4raw-id: //depot/asperl@799
| * [win32] yet another patchChip Salzenberg1998-03-021-1232/+1225
| | | | | | | | | | | | Message-Id: <199709161748.NAA08418@nielsenmedia.com> Subject: Tiny but massively cool: C<statement foreach @list> p4raw-id: //depot/win32/perl@612
* | [asperl] integrate win32 branch contentsGurusamy Sarathy1998-02-091-65/+70
|\ \ | |/ | | p4raw-id: //depot/asperl@493
| * Newer -DLEAKTEST patchIlya Zakharevich1998-02-061-3/+7
| | | | | | p4raw-id: //depot/perl@466
| * More Chip patches (tweaked for _5x). The final one mentioned hereMalcolm Beattie1998-02-061-62/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (@ARGV with -i) actually went in at change 462 but I failed to add it to the change description: Subject: [PATCH] Fix typo: "FORM{,AT}LINE" Date: Sun, 11 Jan 1998 19:37:17 -0500 (EST) Subject: [PATCH] Fix for C<@x = my @y> Date: Sun, 11 Jan 1998 18:12:16 -0500 (EST) Subject: [PATCH] Fix SEGV on C<*glob{SCALAR,ARRAY}> Date: Thu, 5 Feb 1998 21:30:13 -0500 (EST) Subject: [PATCH] Allow last() to mean last Date: Thu, 5 Feb 1998 21:42:57 -0500 (EST) Subject: [PATCH] Consider @ARGV to be plain files if inplace (-i) Date: Wed, 4 Feb 1998 16:04:47 -0500 (EST) p4raw-id: //depot/perl@465
* | [asperl] added AS patch#3Douglas Lankshear1998-02-011-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Message-Id: <01BD2EF2.53433A40.dougl@ActiveState.com> To: "'Gurusamy Sarathy'" <gsar@umich.edu> Here's an additional diff against //depot/asperl The field name mg_length was changed back to mg_len The function name mg_len was change to mg_length The need for sort_mutex removed thanks to the code derived from Tom Horsley's work. -- Doug p4raw-id: //depot/asperl@451
* | [asperl] added AS patch#2Gurusamy Sarathy1998-01-301-1/+20
|/ | | p4raw-id: //depot/asperl@443
* Add to docs about the BEGIN { shift } feature. Make the changeGurusamy Sarathy1997-11-231-1/+1
| | | | | yet simpler using CvUNIQUE(compcv) instead of subline (Chip's idea). p4raw-id: //depot/win32/perl@284
* - shift() inside BEGIN|END|INIT now shifts @ARGV instead of @_Gurusamy Sarathy1997-11-221-1/+1
| | | | | | | - added a test for the above - fixed up perly.c.diff and vms/perl_c.vms for above and added the ansification hunks p4raw-id: //depot/win32/perl@277
* Further ANSI changes now builds and passes (most) testsNick Ing-Simmons1997-10-311-4/+5
| | | | | with gcc -x c++. p4raw-id: //depot/ansiperl@196
* Merge maint-5.004 branch (5.004_04) with mainline.Malcolm Beattie1997-10-161-12/+12
|\ | | | | p4raw-id: //depot/perl@137