summaryrefslogtreecommitdiff
path: root/toke.c
Commit message (Collapse)AuthorAgeFilesLines
* move PL_in_my and PL_in_my_stash into the PL_parser structDave Mitchell2007-05-121-0/+2
| | | p4raw-id: //depot/perl@31203
* eliminate a stray PL_lex_stateDave Mitchell2007-05-121-1/+1
| | | p4raw-id: //depot/perl@31202
* save old PL_curcop value in parser structDave Mitchell2007-05-121-2/+2
| | | p4raw-id: //depot/perl@31201
* move PL_rsfp_filters into the parser structDave Mitchell2007-05-121-6/+21
| | | p4raw-id: //depot/perl@31200
* move PL_rsfp into the PL_parser structDave Mitchell2007-05-111-20/+10
| | | | | and simplify its creation and destruction p4raw-id: //depot/perl@31199
* move PL_lex_state into the PL_parser structDave Mitchell2007-05-051-1/+1
| | | p4raw-id: //depot/perl@31154
* migrate more variables to PL_parser struct:Dave Mitchell2007-05-051-25/+12
| | | | | PL_nexttoke PL_curforce PL_nextval PL_nexttype p4raw-id: //depot/perl@31148
* move some more variables into the PL_parser struct:Dave Mitchell2007-05-041-11/+14
| | | | | | | PL_bufptr PL_oldbufptr PL_oldoldbufptr PL_linestart PL_bufend PL_last_uni PL_last_lop PL_last_lop_op p4raw-id: //depot/perl@31147
* toke.c changes missed from change #31134Dave Mitchell2007-05-041-3/+4
| | | | | p4raw-link: @31134 on //depot/perl: 53a7735b62aee14640bc8ca619b4267f07d686b9 p4raw-id: //depot/perl@31136
* Remove ext/ThreadJerry D. Hedden2007-05-021-2/+1
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510704301406t6373912ame78fea5c7a148cf4@mail.gmail.com> p4raw-id: //depot/perl@31114
* move PL_linestr from the interpreter struct to the parser structDave Mitchell2007-04-241-10/+11
| | | p4raw-id: //depot/perl@31058
* Silence 5 "possible loss of data" warnings from VC6Steve Hay2007-04-241-2/+2
| | | p4raw-id: //depot/perl@31055
* Fix bug in change 31015 - saving the wrong size of variable.Nicholas Clark2007-04-211-1/+1
| | | p4raw-id: //depot/perl@31016
* Several members of struct yy_parser can go on a diet. Some I32s wereNicholas Clark2007-04-211-5/+5
| | | | | actually only holding chars. p4raw-id: //depot/perl@31015
* Re: [PATCH] madprop about forced wordsGerard Goossen2007-04-201-1/+1
| | | | | Message-ID: <20070419113321.GE19244@ostwald> p4raw-id: //depot/perl@30992
* Only append ?? match ops to the list used by reset. This saves memoryNicholas Clark2007-04-061-1/+21
| | | | | and time. p4raw-id: //depot/perl@30857
* madprop about forced wordsGerard Goossen2007-04-061-0/+2
| | | | | Message-ID: <20070329161042.GG20231@ostwald> p4raw-id: //depot/perl@30850
* Re: pmdynflags and thread safetyYves Orton2007-04-041-3/+0
| | | | | Message-ID: <9b18b3110704031646p7ac8dbearf9e41397a5f884d8@mail.gmail.com> p4raw-id: //depot/perl@30841
* Re: [PATCH] MAD disable constant inliningGerard Goossen2007-04-031-2/+3
| | | | | Message-ID: <20070329153132.GD20231@ostwald> p4raw-id: //depot/perl@30837
* Make parser_free() be called slightly later,Dave Mitchell2007-04-011-2/+18
| | | | | | i.e. at the point where lexer vars are being restored in a LEAVE, rather than at the end of yyparse() p4raw-id: //depot/perl@30822
* Eliminate the use of PL_curforce outside of toke.cDave Mitchell2007-04-011-0/+1
| | | p4raw-id: //depot/perl@30821
* Eliminate the use of PL_bufend outside of toke.c:Dave Mitchell2007-04-011-8/+9
| | | | | | give Perl_scan_vstring() an explicit 'end' arg rather than using PL_bufend, and replace it with a local var in Perl_find_script() p4raw-id: //depot/perl@30820
* Make the warning "interpreted as function" a bit less annoying,Rafael Garcia-Suarez2007-03-261-1/+5
| | | | | and test it properly p4raw-id: //depot/perl@30761
* say() should parse exactly like print()Rafael Garcia-Suarez2007-03-261-1/+2
| | | p4raw-id: //depot/perl@30760
* Make sure readpipe without argument can be followed by //Rafael Garcia-Suarez2007-03-241-1/+1
| | | p4raw-id: //depot/perl@30748
* Re: What is this MAD stuff all about?Rick Delaney2007-03-151-3/+4
| | | | | | Message-ID: <20070313001511.GJ6001@bort.ca> Date: Mon, 12 Mar 2007 20:15:12 -0400 p4raw-id: //depot/perl@30592
* Use another method to avoid the "possible interpolation" warningRafael Garcia-Suarez2007-03-071-1/+5
| | | | | | | | | 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 an assertion failure when overloading readpipe.Nicholas Clark2007-03-021-1/+1
| | | p4raw-id: //depot/perl@30444
* More assertion failures, found by auditing the code.Nicholas Clark2007-03-021-2/+2
| | | p4raw-id: //depot/perl@30443
* (?p{}) has been deprecated for a long time.Rafael Garcia-Suarez2007-02-281-1/+1
| | | | | | Remove it, so people are not confused with regard to the new /p regexp modifier. p4raw-id: //depot/perl@30424
* C<keys %+> should not warn. Don't make scan_ident test forRafael Garcia-Suarez2007-02-241-1/+2
| | | | | | ambiguous unary ops when the following token is a hash identifier. (like with scalars and arrays) p4raw-id: //depot/perl@30387
* More efficient to call newSV_type() then SvGROW() instead of newSV()Nicholas Clark2007-02-181-4/+4
| | | | | 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-4/+2
| | | | | | sv = newSV(0); sv_upgrade(sv, type); p4raw-id: //depot/perl@30347
* Re: PL_copline inconsistencyRick Delaney2007-02-121-0/+1
| | | | | Message-ID: <20070128012902.GA21572@bort.ca> p4raw-id: //depot/perl@30228
* A few more places where we know the length for sv_setpv() or sv_catpv()Nicholas Clark2007-02-021-4/+4
| | | p4raw-id: //depot/perl@30101
* One last gv_fetchpv() that should be GV_ADD rather than TRUE.Nicholas Clark2007-01-271-1/+1
| | | p4raw-id: //depot/perl@30030
* A test to exercise the smallbuf overflow code in S_incline, and aNicholas Clark2007-01-271-12/+28
| | | | | refactoring of that code to use only one 128 char array, not two. p4raw-id: //depot/perl@30024
* Stop S_incline needing to temporarily write a '\0' into its passed-inNicholas Clark2007-01-261-10/+7
| | | | | | buffer. (Requires adding gv_fetchfile_flags(), savesharedpvn() and CopFILE_setn() to provide pointer/length versions of APIs) p4raw-id: //depot/perl@30015
* As we're not passing over (or copying in) a NUL, don't need that extraNicholas Clark2007-01-261-2/+2
| | | | | | byte for it, so correct the < to <= so that we use the smallbuf whenever possible. p4raw-id: //depot/perl@30000
* Convert the last remaining 256 byte "small"bufs to 128 bytes.Nicholas Clark2007-01-251-1/+1
| | | | | | | (The actual size doesn't matter, as the buffers are only there to save a malloc() for the common, short, case. Coverage reports suggest that we aren't actually testing the long case. Yet - will fix this) p4raw-id: //depot/perl@29987
* Neither gv_fetchpvn_flags() nor hv_fetch() need a NUL terminatedNicholas Clark2007-01-251-7/+7
| | | | | string, so don't bother allocating buffer space or adding a NUL. p4raw-id: //depot/perl@29983
* The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmaskNicholas Clark2007-01-251-4/+4
| | | | | of flags, not a boolean, so correct the documenation and callers. p4raw-id: //depot/perl@29977
* Enable the ~~ operator by default.Rafael Garcia-Suarez2007-01-151-2/+1
| | | | | Remove the ~~ feature. p4raw-id: //depot/perl@29838
* Re: [PATCH] Add support for /k modfier for matching along with ${^PREMATCH}, ↵Yves Orton2007-01-151-8/+9
| | | | | | | | | ${^MATCH}, ${^POSTMATCH} Message-ID: <9b18b3110701130818h6badbd3o1b38f2660d258173@mail.gmail.com> macroize regexp modifiers p4raw-id: //depot/perl@29834
* Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ↵Yves Orton2007-01-151-16/+12
| | | | | | | | ${^POSTMATCH} Message-ID: <9b18b3110701111731x29b1c63i57b1698f769b3bbc@mail.gmail.com> (with tweaks) p4raw-id: //depot/perl@29831
* Add get_cvn_flags(), which is like get_cv() but takes a length. ThisNicholas Clark2007-01-151-4/+5
| | | | | allows symbolic code references with embeded NULs to work. p4raw-id: //depot/perl@29830
* g++ fixesJarkko Hietaniemi2007-01-151-1/+1
| | | | | Message-Id: <20070115040930.8685843A67@anubis.hut.fi> p4raw-id: //depot/perl@29812
* Fix bug [perl #41234] : the tokenizer understands "=cute"Rafael Garcia-Suarez2007-01-111-1/+1
| | | | | or other words that begin with "cut" as synonyms for "=cut" p4raw-id: //depot/perl@29761
* In toke.c, merge S_update_debugger_info_pv() andNicholas Clark2007-01-111-21/+10
| | | | | S_update_debugger_info_sv() into S_update_debugger_info(). p4raw-id: //depot/perl@29749
* allocate op_pv strings from shared mem poolDave Mitchell2007-01-081-1/+1
| | | p4raw-id: //depot/perl@29711