Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: tools/lexer_generator/transition_key.py

Issue 209473005: Experimental parser: dfa path iteration test (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/lexer_generator/generator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/transition_key.py
diff --git a/tools/lexer_generator/transition_key.py b/tools/lexer_generator/transition_key.py
index 510e0852609f11d62d14b9896621183e400b021e..96888d068e65db1d4c2587ad2a2f5742c9a74ee3 100644
--- a/tools/lexer_generator/transition_key.py
+++ b/tools/lexer_generator/transition_key.py
@@ -425,6 +425,7 @@ class TransitionKey(object):
components = TransitionKey.__disjoint_components(encoding, components, True)
if invert:
components = TransitionKey.__invert_components(encoding, components)
+ components = list(components) # must materialize for compare below
return None if not components else TransitionKey(encoding, components)
@staticmethod
« no previous file with comments | « tools/lexer_generator/generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698