summaryrefslogtreecommitdiff
path: root/perl.c
Commit message (Collapse)AuthorAgeFilesLines
* Match destruct_level type from intrpvar.h, and refer to the docs thereRafael Garcia-Suarez2007-12-031-1/+1
| | | p4raw-id: //depot/perl@32562
* make PERLSYS_TERM not require a contextDave Mitchell2007-11-031-1/+1
| | | p4raw-id: //depot/perl@32216
* In Perl_moreswitches(), avoid the strlen() inside sv_catpv() by movingNicholas Clark2007-10-181-5/+8
| | | | | | the strlen() earlier. Brought to you by the Campaign for the Elimination of strlen(). p4raw-id: //depot/perl@32126
* Moving a strlen() in Perl_moreswitches() saves a strlen() in sv_catpv()Nicholas Clark2007-10-161-4/+5
| | | | | Brought to you by the Campaign for the Elimination of strlen(). p4raw-id: //depot/perl@32112
* Add dVAR;s to the functions created in change 31970.Nicholas Clark2007-10-161-0/+3
| | | p4raw-id: //depot/perl@32109
* Build with -Dusemymalloc was brokenRafael Garcia-Suarez2007-10-081-0/+3
| | | p4raw-id: //depot/perl@32070
* Finally! Worked out how to const Perl_moreswitches().Nicholas Clark2007-10-061-6/+24
| | | | | | | | | | Although I've committed crimes against indenting to avoid losing blame annotation history. Revisit this when we have version control that can easily see through whitespace changes. [Can probably now propagate consting inside S_parse_body(), Perl_moreswitches() and Perl_yylex(), but that will not affect the external API, so can wait until after 5.10] p4raw-id: //depot/perl@32057
* "A" should no longer be in the list of options acceptable to PERL5OPT,Nicholas Clark2007-10-061-1/+1
| | | | | now that assertions have been removed. p4raw-id: //depot/perl@32056
* Remove remaining C<Nullch>s and C<Nullsv>sNicholas Clark2007-10-061-2/+2
| | | p4raw-id: //depot/perl@32054
* The scratch scalar used in -d processing for : and = options would leakNicholas Clark2007-10-061-0/+1
| | | | | as it was never freed. p4raw-id: //depot/perl@32052
* extend PL_veto_cleanup to all platformsDave Mitchell2007-09-251-1/+3
| | | | | | | The conditional skip of PERL_SYS_TERM introduced by change #29827 now happens on all platforms, not just UNIX. p4raw-link: @29827 on //depot/perl: c301d6064f299b8a77670348b81d25d2d94d6a2f p4raw-id: //depot/perl@31971
* make PERL_SYS_INIT/INIT3/TERM into functionsDave Mitchell2007-09-251-0/+27
| | | p4raw-id: //depot/perl@31970
* Move all the compile time options that affect binary compatibility intoNicholas Clark2007-09-151-81/+1
| | | | | | | a global variable PL_bincompat_options. Because the string will be embedded in any shared perl library, it will allow a comparison check to be added to perlmain.c in the future, to detect library mismatch. p4raw-id: //depot/perl@31873
* Rejig the word wrapping code for the "Compile-time options:" of perl -VNicholas Clark2007-09-151-31/+12
| | | | | | | Replace the rather elegant C code with Perl code that can also sort the options first, as this will allow them to be split into those that affect binary compatibility, and those that do not. p4raw-id: //depot/perl@31872
* Save some C<","> in the embedded program used to generate -V output.Nicholas Clark2007-09-151-6/+6
| | | p4raw-id: //depot/perl@31870
* Deprecate the -P switch.Rafael Garcia-Suarez2007-09-031-0/+1
| | | p4raw-id: //depot/perl@31787
* Revert #31690, because it can make -x eat arguments. Even if theAbhijit Menon-Sen2007-08-081-6/+1
| | | | | | | | | next argument happens to be a directory name, changing this does not seem worthwhile. It's as likely as not to break something. The many -x users clamouring for consistency must go home empty-handed, alas. p4raw-id: //depot/perl@31691
* Make '-xx' and '-x x' work the same way (see #44387).Abhijit Menon-Sen2007-08-081-1/+6
| | | p4raw-id: //depot/perl@31690
* fix up some nested #ifdef indentationDave Mitchell2007-07-191-48/+48
| | | p4raw-id: //depot/perl@31635
* silence 'unused var' compiler warningDave Mitchell2007-07-191-1/+3
| | | p4raw-id: //depot/perl@31634
* Patches to compile perl on Cray XT4 Catamount/Qk, by JarkkoRafael Garcia-Suarez2007-06-171-0/+40
| | | p4raw-id: //depot/perl@31404
* Remove support for assertions and -ARafael Garcia-Suarez2007-06-051-26/+0
| | | p4raw-id: //depot/perl@31333
* move PL_error_count into the PL_parser structDave Mitchell2007-05-211-3/+2
| | | p4raw-id: //depot/perl@31255
* delete thrdvar.h and move its contents to intrpvar.hDave Mitchell2007-05-201-2/+0
| | | p4raw-id: //depot/perl@31245
* move PL_rsfp_filters into the parser structDave Mitchell2007-05-121-6/+6
| | | p4raw-id: //depot/perl@31200
* move PL_rsfp into the PL_parser structDave Mitchell2007-05-111-40/+39
| | | | | and simplify its creation and destruction p4raw-id: //depot/perl@31199
* move PL_lex_state into the PL_parser structDave Mitchell2007-05-051-1/+0
| | | p4raw-id: //depot/perl@31154
* Re: mro status, etcBrandon Black2007-04-301-0/+4
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com> p4raw-id: //depot/perl@31107
* eliminate "unused var" warningDave Mitchell2007-04-261-0/+1
| | | p4raw-id: //depot/perl@31083
* move PL_linestr from the interpreter struct to the parser structDave Mitchell2007-04-241-5/+0
| | | p4raw-id: //depot/perl@31058
* eliminate some uses of PL_linestr in perl.cDave Mitchell2007-04-231-10/+13
| | | p4raw-id: //depot/perl@31046
* inline S_init_lexer() and regenDave Mitchell2007-04-231-12/+6
| | | p4raw-id: //depot/perl@31045
* make initialisation of PL_sv_no etc unconditionalDave Mitchell2007-04-231-34/+29
| | | p4raw-id: //depot/perl@31044
* Upgrade to version-0.7203.Rafael Garcia-Suarez2007-04-211-1/+1
| | | | | Plus a change in Module::Build::Version, specific to bleadperl. p4raw-id: //depot/perl@31005
* Re: new C3 MRO patchBrandon Black2007-04-191-0/+1
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704171114k29b0460el5b08ce5185d55ed5@mail.gmail.com> p4raw-id: //depot/perl@30980
* Silence the g++ warnings "right-hand operand of comma has no effect"Nicholas Clark2007-04-101-3/+3
| | | p4raw-id: //depot/perl@30900
* MAD do not ignore errors from 'use'Gerard Goossen2007-04-061-4/+0
| | | | | | | Message-ID: <20070329160229.GF20231@ostwald> plus another similar correction p4raw-id: //depot/perl@30851
* Cleanups for PERL_DEBUG_READONLY_OPS debugging code - remove a now-Nicholas Clark2007-04-021-4/+3
| | | | | | unneeded include of <sys/mman.h>, and make PERL_DEBUG_READONLY_OPS appear in -V output. p4raw-id: //depot/perl@30834
* Add a new compile option PERL_DEBUG_READONLY_OPS which marks the optreeNicholas Clark2007-04-021-0/+11
| | | | | | as read only (or as much of it as it practical). This makes it trivial to detect buggy code that is modifying the optree at runtime. p4raw-id: //depot/perl@30829
* Eliminate the use of PL_curforce outside of toke.cDave Mitchell2007-04-011-4/+0
| | | p4raw-id: //depot/perl@30821
* Add some PERL_MEM* defines to the -V output that were missing.Nicholas Clark2007-03-211-2/+20
| | | | | "Correct" the whitespace on the only inconsistent #ifdef/#endif p4raw-id: //depot/perl@30667
* Upgrade to version.pm 0.71, by John PeacockRafael Garcia-Suarez2007-03-191-1/+1
| | | p4raw-id: //depot/perl@30629
* Use another method to avoid the "possible interpolation" warningRafael Garcia-Suarez2007-03-071-5/+0
| | | | | | | | | for @- and @+ : do this directly from the lexer (patch by Yves Orton.) This way, @- and @+ aren't preloaded anymore. Avoid to require re::Tie::Hash::NamedCapture when the *- or *+ globs are created, this was breaking the build due to miniperl's inability to load it. p4raw-id: //depot/perl@30496
* Avoid to load the *+ and *- globs too early.Rafael Garcia-Suarez2007-03-071-2/+4
| | | | | | | | | | To silence spurious interpolation warnings, merely create the stash entry for them. Ensure that the re::Tie::Hash::NamedCapture module is always loaded when we have created the tied hashes %+ and %-. Revert change #30483, which is now unnecessary. p4raw-link: @30483 on //depot/perl: 73f68b39467596f862aade4f4b46d6061aa98bd3 p4raw-id: //depot/perl@30490
* Add a volatile modifier to avoid possible cloberring by longjmp,Rafael Garcia-Suarez2007-03-031-1/+1
| | | | | as the compiler used by Jerry D. Hedden warns. p4raw-id: //depot/perl@30448
* More efficient to call newSV_type() then SvGROW() instead of newSV()Nicholas Clark2007-02-181-2/+2
| | | | | with a size then sv_upgrade(), as the latter calls sv_upgrade() twice. p4raw-id: //depot/perl@30348
* Add a new API function newSV_type, to replace the idiom:Nicholas Clark2007-02-181-6/+3
| | | | | | sv = newSV(0); sv_upgrade(sv, type); p4raw-id: //depot/perl@30347
* Integrate:Nicholas Clark2007-02-121-1/+1
| | | | | | | | | | | [ 29832] Avoid a SEGV in DBI's test suite, discovered by Andreas. Probably need to go through and audit to see if there are analagous places that need tweaking. p4raw-link: @29832 on //depot/maint-5.8/perl: 42a5fb548791baca026f93036e91df33f2efb5be p4raw-id: //depot/perl@30240 p4raw-integrated: from //depot/maint-5.8/perl@29832 'merge in' perl.c (@29809..)
* fix 2 environment handling bugsJan Dubois2007-02-061-7/+5
| | | | | Message-ID: <p81gs2pggh04cngqjam0ejite7ksamiprt@4ax.com> p4raw-id: //depot/perl@30147
* Change 23753 wasn't quite a perfect refactoring, as it omitted callingNicholas Clark2007-02-041-1/+6
| | | | | | | PERL_SET_THX(my_perl); when !PL_curinterp for non-ithreads. However, this would not have made a difference for any configuration buildable from the blead source alone. p4raw-id: //depot/perl@30119