Reviewers: marja,

Message:
Committed patchset #1 manually as r18804 (presubmit successful).

Description:
Experimental parser: add back forward before jumping to eos handler

[email protected]

BUG=

Committed: https://code.google.com/p/v8/source/detail?r=18804

Please review this at https://codereview.chromium.org/138723003/

SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser

Affected files (+1, -0 lines):
  M tools/lexer_generator/code_generator.jinja


Index: tools/lexer_generator/code_generator.jinja
diff --git a/tools/lexer_generator/code_generator.jinja b/tools/lexer_generator/code_generator.jinja index a4207826cf5ae71c7f2812146705217a8e1ac179..ab1c05720a086b2c524931c40b79f1c190202fd2 100644
--- a/tools/lexer_generator/code_generator.jinja
+++ b/tools/lexer_generator/code_generator.jinja
@@ -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