Reviewers: dcarney,

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

Description:
Experimental lexer generator: unbreak dot output after harmony stuff.

[email protected]
BUG=

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

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

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

Affected files (+1, -1 lines):
  M tools/lexer_generator/automaton.py


Index: tools/lexer_generator/automaton.py
diff --git a/tools/lexer_generator/automaton.py b/tools/lexer_generator/automaton.py index 7321fae5972459374fb9bd33d04a8031fb8f9a40..483b8c00accda46ed412a1138508ecdaa8c21303 100644
--- a/tools/lexer_generator/automaton.py
+++ b/tools/lexer_generator/automaton.py
@@ -80,7 +80,7 @@ class Action(object):
       part = ""
       if action:
         part += action[0]
-        if action[1]:
+        if action[1] and isinstance(action[1], str):
           part += "(%s)" % action[1]
       parts.append(part)
     return "action< %s >" % " | ".join(parts)


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