summaryrefslogtreecommitdiff
path: root/pp_ctl.c
Commit message (Collapse)AuthorAgeFilesLines
* change#4849 wasn't restoring savestack correctly; make loops that haveGurusamy Sarathy2000-02-251-10/+7
| | | | | | | continue blocks recognizable at run time p4raw-link: @4849 on //depot/perl: 872465582bf743a066e1240f2c3e941735674827 p4raw-id: //depot/perl@5255
* adjust for lost fp precision in require version checkGurusamy Sarathy2000-02-221-5/+7
| | | p4raw-id: //depot/perl@5190
* lexical warnings update, ability to inspect bitmask in callingGurusamy Sarathy2000-02-201-23/+34
| | | | | scope, among other things (from Paul Marquess) p4raw-id: //depot/perl@5170
* make change#3386 a build-time option (avoids problems due toGurusamy Sarathy2000-02-201-0/+18
| | | | | | | perl_run() longjmping out) p4raw-link: @3386 on //depot/perl: 312caa8e97f1c7ee342a9895c2f0e749625b4929 p4raw-id: //depot/perl@5162
* more purification (pp_require() could access free memory; vdie()Gurusamy Sarathy2000-02-131-10/+10
| | | | | | | | could think message was random length when passed a null argument; utilize() didn't set up the hash for the method name leading to pp_method_named() accessing random state; PL_curpm wasn't zeroed properly) p4raw-id: //depot/perl@5072
* formline() could wipe out readonly-ness, freeing constantsGurusamy Sarathy2000-02-101-2/+7
| | | | | prematurely, or affect cloning of pad constants p4raw-id: //depot/perl@5056
* set SvUTF8 on vectors only if there are chars > 127; update copyrightGurusamy Sarathy2000-02-061-2/+2
| | | | | years (from Gisle Aas) p4raw-id: //depot/perl@5009
* patch to provide more informative names for evals and anonymousGurusamy Sarathy2000-02-041-4/+22
| | | | | subroutines (from Ilya Zakharevich) p4raw-id: //depot/perl@4975
* HINT_UTF8 is not propagated to the op tree anymore; add aGurusamy Sarathy2000-02-011-2/+0
| | | | | perlunicode.pod that reflects changes to unicode support so far p4raw-id: //depot/perl@4941
* runtime now looks at the SVf_UTF8 bit on the SV to decideGurusamy Sarathy2000-01-311-4/+14
| | | | | | | | | whether to use widechar semantics; lexer and RE engine continue to need "use utf8" to enable unicode awareness in literals and patterns (TODO: this needs to be fixed); $1 et al are marked SvUTF8 if the pattern was compiled for utf8 (TODO: propagating it from the data is probably better) p4raw-id: //depot/perl@4930
* fix localization in while BLOCK when there is a continue BLOCKGurusamy Sarathy2000-01-231-1/+2
| | | | | | | by introducing an explicit scope (c.f. change#4848) p4raw-link: @4848 on //depot/perl: 1ee987245c095afd177d3e2ca6255cec8dbb53ca p4raw-id: //depot/perl@4849
* fix scope cleanup when next jumps to a continue block; this is ratherGurusamy Sarathy2000-01-231-3/+9
| | | | | | | in the nature of a kludge; it doesn't fix the longstanding bug that makes C<while (!$x++) { local $x = 7 } continue { print $x }> print "7" instead of "1") p4raw-id: //depot/perl@4848
* add patch for printf-style format typechecks (from Robin BarkerGurusamy Sarathy2000-01-221-5/+4
| | | | | <rmb1@cise.npl.co.uk>); fixes for problems so identified p4raw-id: //depot/perl@4836
* range operator does magical string increment iff both operandsGurusamy Sarathy1999-12-281-2/+8
| | | | | | are non-numbers, from Tom Phoenix <rootbeer@redcat.com>; fixed the "foreach (RANGE)" case as well p4raw-id: //depot/perl@4730
* support for v5.5.640 style version numbersGurusamy Sarathy1999-12-241-4/+48
| | | p4raw-id: //depot/utfperl@4705
* revert optimization in change#4700 (it appears OPpRUNTIME flagGurusamy Sarathy1999-12-201-7/+0
| | | | | | | isn't set for all m/$foo/o) p4raw-link: @4700 on //depot/perl: 2360cd68127e75c48ae54a165bf882455ec55e1c p4raw-id: //depot/perl@4701
* avoid pp_regcomp() changing optree at run time under USE_*THREADS (orGurusamy Sarathy1999-12-201-0/+11
| | | | | we have a race on our hands) p4raw-id: //depot/perl@4700
* allow new style sort subs to work under usethreadsGurusamy Sarathy1999-12-091-1/+7
| | | p4raw-id: //depot/perl@4674
* s/block/loop block/ in diagnostics about next, last, redoGurusamy Sarathy1999-12-041-4/+4
| | | p4raw-id: //depot/perl@4646
* allow XSUBs and prototyped subroutines to be used with sort() (tweakedGurusamy Sarathy1999-12-021-14/+107
| | | | | variant of patch suggested by Peter Haworth <pmh@edison.ioppublishing.com>) p4raw-id: //depot/perl@4614
* avoid "Callback called exit" error on intentional exit()Gurusamy Sarathy1999-12-011-0/+1
| | | p4raw-id: //depot/perl@4609
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-22/+62
| | | p4raw-id: //depot/perl@4602
* sundry cleanups for cloned interpreters (only known failure modeGurusamy Sarathy1999-11-141-13/+11
| | | | | | is due to regexps keeping non-constant data in their compiled structures) p4raw-id: //depot/perl@4579
* avoid stash pointers in optree under USE_ITHREADSGurusamy Sarathy1999-11-111-9/+8
| | | p4raw-id: //depot/perl@4546
* another change towards a shareable optree: avoid pointer to filegvGurusamy Sarathy1999-11-111-28/+16
| | | | | | | | | in COP; revert parts of change#4485 and s/xcv_filegv/xcv_file/ (CvFILE() may yet come in handy somewhere); adjust compiler doodads to suit p4raw-link: @4485 on //depot/perl: b195d4879f55e1610299cb9b1b55356940c2a577 p4raw-id: //depot/perl@4545
* more cleanups for change#4539Gurusamy Sarathy1999-11-101-0/+3
| | | | | p4raw-link: @4539 on //depot/perl: 350de78d9c02710bb008e9ca922c78ba251ec366 p4raw-id: //depot/perl@4544
* remove VIRTUAL tag, PERL_OBJECT doesn't need it anymoreGurusamy Sarathy1999-11-041-1/+0
| | | p4raw-id: //depot/perl@4511
* macros for COP.cop_filegv accessGurusamy Sarathy1999-11-011-14/+13
| | | p4raw-id: //depot/perl@4505
* More printf-fixes (see also #4426).Jarkko Hietaniemi1999-10-231-2/+2
| | | p4raw-id: //depot/cfgperl@4429
* serious bug introduced by G_VOID changes in 5.003_96: scalarGurusamy Sarathy1999-10-171-0/+1
| | | | | | eval"" did not pop stack correctly; C<$a = eval "(1,2)x1"> is one symptom of the problem p4raw-id: //depot/perl@4401
* fix POPSTACK panics that ensued from bad interaction betweenGurusamy Sarathy1999-10-141-1/+2
| | | | | | | | | runlevels and stack of stacks (change#3988 done right); basically, we pop the runlevel if the stacklevel is not the same one we started the runlevel with p4raw-link: @3988 on //depot/perl: a7c6d24429ab2b6db54575a3bdc62c7ed9f881cf p4raw-id: //depot/perl@4376
* avoid inefficiency in change#3386 (every longjmp() was followedGurusamy Sarathy1999-10-141-1/+2
| | | | | | | by an avoidable call to setjmp()) p4raw-link: @3386 on //depot/perl: 312caa8e97f1c7ee342a9895c2f0e749625b4929 p4raw-id: //depot/perl@4372
* POPSUB() gave up the refcount to the CV before LEAVE had a chance toGurusamy Sarathy1999-10-091-3/+11
| | | | | | | clear entries in the CV's pad, leading to coredumps when CV had no other references to it; this is a slightly edited version of the patch suggested by Russel O'Connor <roconnor@world.std.com> p4raw-id: //depot/perl@4321
* revert POP{SUB,LOOP}{1,2} logic to the simpler pre-5.003_24Gurusamy Sarathy1999-10-081-15/+10
| | | | | | situation (assumptions about cx invalidation are not valid anymore) p4raw-id: //depot/perl@4320
* remove kludgey duplicate background error avoidance (causedGurusamy Sarathy1999-10-081-19/+18
| | | | | | "leaks"; %@ wasn't even user-visible under -Dusethreads); only repeats of most recent error are now avoided p4raw-id: //depot/perl@4316
* make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-6/+8
| | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* fix buggy popping of subroutine contexts in the lvalueGurusamy Sarathy1999-09-261-2/+2
| | | | | | | | | subroutines implementation (change#4081); correct the plethora of cases where DIE() was more appropriate than croak() p4raw-link: @4081 on //depot/perl: cd06dffe59d60ee6a2fdd7c81f8cef42c7026b36 p4raw-id: //depot/perl@4235
* queue errors due to strictures rather than printing them asGurusamy Sarathy1999-09-201-5/+23
| | | | | | | | | | | warnings; symbols that violate strictures do *not* end up in the symbol table anyway, making multiple evals of the same piece of code produce the same errors; errors indicate all locations of a global symbol rather than just the first one; these changes make compile-time failures within evals reliably visible via the return value or contents of $@, and trappable using __DIE__ hooks p4raw-id: //depot/perl@4197
* avoid clearing @_ at all for faster subroutine calls; fix bugsGurusamy Sarathy1999-09-191-11/+9
| | | | | | in passing around references to @_, eg C<sub foo { \@_ }>; add tests for the same p4raw-id: //depot/perl@4195
* Replace change #4100 withRobin Barker1999-09-131-5/+5
| | | | | | | | | | To: gsar@activestate.com Cc: perl5-porters@perl.org Subject: Re: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909131315.OAA24012@tempest.npl.co.uk> p4raw-link: @4100 on //depot/cfgperl: 427181846486e3aa5034a647dc1922377185f4c0 p4raw-id: //depot/cfgperl@4136
* Fix pointer casts.Robin Barker1999-09-071-5/+5
| | | | | | | | To: perl5-porters@perl.org Subject: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909071130.MAA11435@tempest.npl.co.uk> p4raw-id: //depot/cfgperl@4100
* deadcode removalGurusamy Sarathy1999-08-291-7/+1
| | | p4raw-id: //depot/perl@4034
* change#3692 had an unintentional patch leak through!Gurusamy Sarathy1999-08-021-11/+8
| | | | | | | | (this would explain the mysterious C<next LABEL> failures people have seen) p4raw-link: @3692 on //depot/perl: 2c15bef39460c09b2a7846a30a4fc1fc1c4f93e4 p4raw-id: //depot/perl@3878
* 64-bit work. Now 32-bit platforms get a 100% make testJarkko Hietaniemi1999-08-011-2/+2
| | | | | | | | | | | | | | | with -Duse64bits (using long long). Tested in Solaris 2.6 sparc RH Linux 6.0 x86 (and Digital IX 4.0D, to get a true 64-bit opinion). Now e.g. 'print unpack "q", pack "q", 12345678901' should work on such 32-bit platforms. Still a lot of printf()s behind -D which wrongly assume that %ld/%lx and (long) are a good combination. Introducing a slew of new macros intended to be used in printf() format strings: e. g. PERL_PRId64 is the string to be used when printing an IV, printf("%" PERL_PRId64 "\n", iv). The PRI... naming follows the C9X naming of <inttypes.h> macros. p4raw-id: //depot/cfgperl@3861
* warnings identified by Borland compilerGurusamy Sarathy1999-07-261-3/+3
| | | p4raw-id: //depot/perl@3777
* alpha-stage support for user-hooks in @INCKen Fox1999-07-261-16/+207
| | | | | | Message-Id: <199907200213.WAA02816@mailfw2.ford.com> Subject: Re: loading remote modules p4raw-id: //depot/perl@3771
* change#3534 didn't preserve undef return values from caller()Gurusamy Sarathy1999-07-261-3/+6
| | | | | p4raw-link: @3534 on //depot/perl: f3aa04c29a85dd63d563ae8e27316ff34501ccd5 p4raw-id: //depot/perl@3751
* remove spurious newSTATEOP() that causes goto to enter one too manyGurusamy Sarathy1999-07-181-8/+11
| | | | | contexts when jumping between if and elsif blocks p4raw-id: //depot/perl@3692
* minor efficiency tweakGurusamy Sarathy1999-07-141-0/+9
| | | p4raw-id: //depot/perl@3672
* fixups for sundry warnings about function pointersGurusamy Sarathy1999-07-121-13/+7
| | | p4raw-id: //depot/perl@3669