]> granicus.if.org Git - php/commitdiff
- Move back to yyless(). I haven't tested it yet because it's taking too long
authorAndi Gutmans <andi@php.net>
Fri, 30 Apr 1999 17:35:38 +0000 (17:35 +0000)
committerAndi Gutmans <andi@php.net>
Fri, 30 Apr 1999 17:35:38 +0000 (17:35 +0000)
  to compile and I have to disconnect

Zend/zend-scanner.l

index ef494bb59e737547f5d6143611533c1c6d594973..57535e51acc9926c4e3e576af66a9031a91949e8 100644 (file)
@@ -637,7 +637,7 @@ ESCAPED_AND_WHITESPACE [\n\t\r #'.:;,()|^&+-/*=%!~<>?@]+
 
 <LOOKING_FOR_PROPERTY>. {
        /*unput(yytext[0]);*/
-       yyless(1);
+       yyless(0);
        yy_pop_state();
 }
 
@@ -848,8 +848,8 @@ ESCAPED_AND_WHITESPACE [\n\t\r #'.:;,()|^&+-/*=%!~<>?@]+
 
 
 <LOOKING_FOR_VARNAME>. {
-       /*yyless(1);*/
-       unput(yytext[0]);
+       /*unput(yytext[0]);*/
+       yyless(0);
        yy_pop_state();
        yy_push_state(IN_SCRIPTING);
 }