Revision: 17993
Author:   [email protected]
Date:     Fri Nov 22 09:05:23 2013 UTC
Log: Experimental lexer generator: unbreak dot output after harmony stuff.

[email protected]
BUG=

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

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

=======================================
--- /branches/experimental/parser/tools/lexer_generator/automaton.py Fri Nov 22 09:02:55 2013 UTC +++ /branches/experimental/parser/tools/lexer_generator/automaton.py Fri Nov 22 09:05:23 2013 UTC
@@ -80,7 +80,7 @@
       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