Revision: 17702
Author:   [email protected]
Date:     Wed Nov 13 16:07:40 2013 UTC
Log:      Experimental lexer generator: default action fix.

With this, we have 80 failures (including files containing illegal tokens).

BUG=
[email protected]

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

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

=======================================
--- /branches/experimental/parser/tools/lexer_generator/code_generator.py Wed Nov 13 15:03:03 2013 UTC +++ /branches/experimental/parser/tools/lexer_generator/code_generator.py Wed Nov 13 16:07:40 2013 UTC
@@ -89,7 +89,7 @@

     if action:
       code += '%s\nBACK();\ngoto code_%s;\n' % (action.data(),
- start_node_number)
+                                                start_node_number)
     else:
       code += 'goto default_action;'
     return code
@@ -116,7 +116,6 @@
 default_action:
   //fprintf(stderr, "default action\\n");
   %s
-  BACK();
   goto code_%s;
   return 0;
 }

--
--
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