summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* s/STOP/CHECK/ blocksGurusamy Sarathy2000-01-261-12/+12
| | | p4raw-id: //depot/perl@4905
* produce redeclaration warning on C<our $foo; { our $foo; ... }>Gurusamy Sarathy2000-01-251-8/+25
| | | p4raw-id: //depot/perl@4891
* change#4866 was flawed; revert and add better fix for warningGurusamy Sarathy2000-01-231-11/+4
| | | | | p4raw-link: @4866 on //depot/perl: ef8040b067557994d471dfa4e5ac3900907e94ce p4raw-id: //depot/perl@4867
* optimize away runtime code for our($foo) (also avoid warnings)Gurusamy Sarathy2000-01-231-1/+9
| | | p4raw-id: //depot/perl@4866
* fix diagnostics to report "our" vs "my" correctlyGurusamy Sarathy2000-01-231-12/+20
| | | p4raw-id: //depot/perl@4859
* fix localization in while BLOCK when there is a continue BLOCKGurusamy Sarathy2000-01-231-0/+3
| | | | | | | by introducing an explicit scope (c.f. change#4848) p4raw-link: @4848 on //depot/perl: 1ee987245c095afd177d3e2ca6255cec8dbb53ca p4raw-id: //depot/perl@4849
* don't warn about masked lexical in C<if (my $x = 1) { my $x; }>,Gurusamy Sarathy2000-01-231-8/+5
| | | | | C<while (my $x = foo()) { my $x = bar(); }> etc. p4raw-id: //depot/perl@4847
* wrong category for exec() warningGurusamy Sarathy2000-01-221-2/+4
| | | p4raw-id: //depot/perl@4844
* add patch for printf-style format typechecks (from Robin BarkerGurusamy Sarathy2000-01-221-8/+12
| | | | | <rmb1@cise.npl.co.uk>); fixes for problems so identified p4raw-id: //depot/perl@4836
* fix deeply nested closures that have no references to lexical inGurusamy Sarathy2000-01-221-21/+43
| | | | | intervening subs p4raw-id: //depot/perl@4834
* support for C<exists &func> (from Spider Boardman)Gurusamy Sarathy2000-01-211-2/+9
| | | p4raw-id: //depot/perl@4827
* minor optimization (avoid double sv_upgrade() for "our Foo $bar;")Gurusamy Sarathy2000-01-141-5/+5
| | | p4raw-id: //depot/perl@4803
* nailed "our" declarations, and better warnings on duplicateGurusamy Sarathy2000-01-141-4/+14
| | | | | "our" declarations p4raw-id: //depot/perl@4801
* avoid spurious "Useless use of variable" warning on C<our $foo;>Gurusamy Sarathy2000-01-141-1/+2
| | | p4raw-id: //depot/perl@4800
* support delete() and exists() on array, tied array, and pseudo-hashGurusamy Sarathy2000-01-131-5/+19
| | | | | elements or slices p4raw-id: //depot/perl@4796
* USE_ITHREADS tweak (reused pad values could be SvREADONLY ifGurusamy Sarathy2000-01-061-1/+5
| | | | | they belonged to freed OP_CONSTs) p4raw-id: //depot/perl@4761
* constant ranges could escape bareword check in list contextGurusamy Sarathy2000-01-061-0/+1
| | | p4raw-id: //depot/perl@4760
* disable optimization in change#3612 for join() and quotemeta()--thisGurusamy Sarathy2000-01-021-39/+1
| | | | | | | | | removes all the gross hacks for the special cases in that change; fix pp_concat() for when TARG == arg (modified version of patch suggested by Ilya Zakharevich) p4raw-link: @3612 on //depot/perl: b162f9ead0a98db35cdcfc8c889e344c040c8d8e p4raw-id: //depot/perl@4749
* bring in basic threads stuff under USE_ITHREADSGurusamy Sarathy1999-12-231-2/+2
| | | p4raw-id: //depot/perl@4704
* USE_ITHREADS tweaks and notesGurusamy Sarathy1999-12-091-5/+11
| | | p4raw-id: //depot/perl@4675
* make File::Glob::glob() the default for CORE::glob()Gurusamy Sarathy1999-12-051-2/+2
| | | | | (old csh glob can still be had with -DPERL_EXTERNAL_GLOB) p4raw-id: //depot/perl@4649
* better implementation of change#3326; open(local $foo,...) nowGurusamy Sarathy1999-12-041-13/+33
| | | | | | | | | | allowed in addition to any uninitialized variable, for consistency with how autovivification works elsewhere; add code to use the variable name as the name of the handle for simple variables, so that diagnostics report the handle: "... at - line 1, <$foo> line 10." p4raw-link: @3326 on //depot/perl: 853846ea710f8feaed8c98b358bdc8967dd522d2 p4raw-id: //depot/perl@4639
* various File::Glob fixes for DOSISH platformsPaul Moore1999-12-021-1/+1
| | | | | | Message-Id: <714DFA46B9BBD0119CD000805FC1F53BDC38E3@UKRUX002.rundc.uk.origin-it.com> Subject: File::Glob again. Final patch, honest! p4raw-id: //depot/perl@4615
* avoid PTR->IV cast warningsGurusamy Sarathy1999-12-011-1/+1
| | | p4raw-id: //depot/perl@4605
* minor USE_ITHREADS tweaksGurusamy Sarathy1999-12-011-12/+12
| | | p4raw-id: //depot/perl@4603
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-33/+44
| | | p4raw-id: //depot/perl@4602
* tweak for win32 buildGurusamy Sarathy1999-11-141-2/+2
| | | p4raw-id: //depot/perl@4585
* sundry cleanups for cloned interpreters (only known failure modeGurusamy Sarathy1999-11-141-9/+21
| | | | | | is due to regexps keeping non-constant data in their compiled structures) p4raw-id: //depot/perl@4579
* Integrate with Sarathy.Jarkko Hietaniemi1999-11-131-13/+42
|\ | | | | p4raw-id: //depot/cfgperl@4555
| * cloned interpreters now actually run and pass all but 55/10386Gurusamy Sarathy1999-11-131-13/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subtests; various subtle bugs, new and old, observed when running cloned interpreters have been fixed still to do: | * dup psig_ptr table | * merge PADOP GVs support with "our" SVs (existing PADOPs are too | simple-minded and grab one pad entry each, heavily bloating | the pad by not avoiding dups) | * overloaded constants are not really immutable--they need to | be PADOPs | * allocator for constants and OPs need to be spelled differently | (shared vs interpreter-local allocations) | * optree refcounting is still missing locking (macros are in place) | * curstackinfo, {mark,scope,save,ret}stack need to be cloned so | perl_clone() can be called from within runops*() p4raw-id: //depot/perl@4553
* | Integrate with Sarathy.Jarkko Hietaniemi1999-11-111-68/+154
|\ \ | |/ | | p4raw-id: //depot/cfgperl@4549
| * avoid stash pointers in optree under USE_ITHREADSGurusamy Sarathy1999-11-111-12/+20
| | | | | | p4raw-id: //depot/perl@4546
| * another change towards a shareable optree: avoid pointer to filegvGurusamy Sarathy1999-11-111-28/+41
| | | | | | | | | | | | | | | | | | 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-12/+26
| | | | | | | | | | p4raw-link: @4539 on //depot/perl: 350de78d9c02710bb008e9ca922c78ba251ec366 p4raw-id: //depot/perl@4544
| * remove dead branch/infinite looper in change#3612Gurusamy Sarathy1999-11-101-7/+15
| | | | | | | | | | p4raw-link: @3612 on //depot/perl: b162f9ead0a98db35cdcfc8c889e344c040c8d8e p4raw-id: //depot/perl@4543
| * small nits in changes#4538,4539Gurusamy Sarathy1999-11-091-1/+5
| | | | | | | | | | | | p4raw-link: @4539 on //depot/perl: 350de78d9c02710bb008e9ca922c78ba251ec366 p4raw-link: @4538 on //depot/perl: d18c61170a30691556a1da7413e13241a92f4e0a p4raw-id: //depot/perl@4541
| * preliminary support for GVOP indirection via padGurusamy Sarathy1999-11-081-16/+55
| | | | | | p4raw-id: //depot/perl@4539
* | So many printfs, so little time.Jarkko Hietaniemi1999-11-061-6/+6
| | | | | | p4raw-id: //depot/cfgperl@4530
* | [5.005_62 PATCH] binmode and locale support for -T and -B filetest operatorsJan Dubois1999-11-061-7/+14
| | | | | | | | | | | | | | | | To: perl5-porters@perl.org Cc: Mike Blazer <blazer@mail.nevalink.ru>, Mark Borgerding <mborgerding@acm.org> Message-ID: <38279207.46448719@smtprelay.t-online.de> p4raw-id: //depot/cfgperl@4528
* | ...and they are getting fewer.Jarkko Hietaniemi1999-11-061-6/+6
| | | | | | p4raw-id: //depot/cfgperl@4526
* | Integrate with Sarathy.Jarkko Hietaniemi1999-11-041-0/+14
|\ \ | |/ | | p4raw-id: //depot/cfgperl@4520
| * implement STOP blocks and fix compiler to use them (minimallyGurusamy Sarathy1999-11-041-0/+14
| | | | | | | | | | tested) p4raw-id: //depot/perl@4515
* | ref to non-lvalue methodIlya Zakharevich1999-11-041-1/+1
|/ | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-Id: <199911030852.DAA06563@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4519
* macros for COP.cop_filegv accessGurusamy Sarathy1999-11-011-8/+8
| | | p4raw-id: //depot/perl@4505
* more cleanup: avoid unused knowledge of "file GV" notion in CV and GVGurusamy Sarathy1999-10-291-4/+1
| | | p4raw-id: //depot/perl@4485
* usurp GVOP slot for new PADOP (one small step to making optreeGurusamy Sarathy1999-10-291-28/+51
| | | | | shareable across interpreters) p4raw-id: //depot/perl@4484
* Integrate with Sarathy; manual resolve on regcomp.c conflictsJarkko Hietaniemi1999-10-271-4/+8
|\ | | | | | | | | (Ilya's changes won). p4raw-id: //depot/cfgperl@4468
| * warnings and const violations identified by compiling in C++ modeGurusamy Sarathy1999-10-261-3/+3
| | | | | | | | | | with GCC v2.95 p4raw-id: //depot/perl@4461
| * fix accidental C modulo semantics on integer-valued operationsGurusamy Sarathy1999-10-231-1/+5
| | | | | | | | | | (e.g. caused C<length("abc") % -10> to return 3 rather than -7) p4raw-id: //depot/perl@4428
* | More printf-fixes (see also #4426).Jarkko Hietaniemi1999-10-231-27/+35
|/ | | p4raw-id: //depot/cfgperl@4429