Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_language_scanner.l

From: Date: Fri, 25 Apr 2003 10:18:21 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_language_scanner.l
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1175@lists.php.net to get a copy of this message
Forgot to mention: This was just a revert of George's performance improvement patch. Andi promised to look into improving the performance so that it won't break anything else, as soon as he comes back from his holiday. --Jani On Fri, 25 Apr 2003, Jani Taskinen wrote: >sniper Fri Apr 25 06:14:28 2003 EDT > > Modified files: (Branch: PHP_4_3) > /Zend zend_language_scanner.l > Log: > MFH: Fixed bug #21820 ("$arr[foo]" generates bogus E_NOTICE, should be E_PARSE) > >Index: Zend/zend_language_scanner.l >diff -u Zend/zend_language_scanner.l:1.54.2.10 Zend/zend_language_scanner.l:1.54.2.11 >--- Zend/zend_language_scanner.l:1.54.2.10 Mon Apr 7 18:51:43 2003 >+++ Zend/zend_language_scanner.l Fri Apr 25 06:14:28 2003 >@@ -702,8 +702,6 @@ > EXPONENT_DNUM (({LNUM}|{DNUM})[eE][+-]?{LNUM}) > HNUM "0x"[0-9a-fA-F]+ > LABEL [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]* >-ENCAPSED_STRING ([a-zA-Z0-9_\x7f-\xff \t >#'.:;,()|^&+/*=%!~<>?@]|"-"[a-zA-Z0-9_\x7f-\xff \t >#'.:;,()|^&+/*=%!~<?@])+ >-ENCAPSED_STRING_WITH_NEWLINE ([a-zA-Z0-9_\x7f-\xff \t\n\r >#'.:;,()|^&+/*=%!~<>?@]|"-"[a-zA-Z0-9_\x7f-\xff \t\n\r >#'.:;,()|^&+/*=%!~<?@])+ > WHITESPACE [ \n\r\t]+ > TABS_AND_SPACES [ \t]* > TOKENS [;:,.\[\]()|^&+-/*=%!~$<>?@] >@@ -1288,12 +1286,6 @@ > return T_VARIABLE; > } > >-<ST_DOUBLE_QUOTES,ST_BACKQUOTE>{ENCAPSED_STRING_WITH_NEWLINE} { >- HANDLE_NEWLINES(yytext, yyleng); >- zend_copy_value(zendlval, yytext, yyleng); >- zendlval->type = IS_STRING; >- return T_STRING; >-} > > <ST_IN_SCRIPTING>{LABEL} { > zend_copy_value(zendlval, yytext, yyleng); >@@ -1302,7 +1294,7 @@ > } > > >-<ST_HEREDOC>{ENCAPSED_STRING} { >+<ST_DOUBLE_QUOTES,ST_BACKQUOTE,ST_HEREDOC>{LABEL} { > zend_copy_value(zendlval, yytext, yyleng); > zendlval->type = IS_STRING; > return T_STRING; > > > > -- <- For Sale! ->

« previous php.zend-engine.cvs (#1175) next »