Revision: 18804
Author:   [email protected]
Date:     Fri Jan 24 08:28:11 2014 UTC
Log: Experimental parser: add back forward before jumping to eos handler

[email protected]

BUG=

Review URL: https://codereview.chromium.org/138723003
http://code.google.com/p/v8/source/detail?r=18804

Modified:
 /branches/experimental/parser/tools/lexer_generator/code_generator.jinja

=======================================
--- /branches/experimental/parser/tools/lexer_generator/code_generator.jinja Thu Jan 23 18:54:00 2014 UTC +++ /branches/experimental/parser/tools/lexer_generator/code_generator.jinja Fri Jan 24 08:28:11 2014 UTC
@@ -262,6 +262,7 @@

   {%- if 'eos' in state['unique_transitions'] %}
     if (primary_char == 0 && cursor_ >= buffer_end_) { // eos handler
+      FORWARD();
       {{ jump(state['unique_transitions']['eos']) }}
     }
   {%- endif -%}

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to