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

Unified Diff: tools/lexer_generator/transition_key.py

Issue 171713005: Experimental parser: add backtracking (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 10 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/test/lexer_test.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 a59eae5a3d59fbca2f3d3b6fda97ffd1c4256e46..510e0852609f11d62d14b9896621183e400b021e 100644
--- a/tools/lexer_generator/transition_key.py
+++ b/tools/lexer_generator/transition_key.py
@@ -403,7 +403,7 @@ class TransitionKey(object):
@staticmethod
def __disjoint_components(encoding, components, merge_ranges):
range_map = {}
- other_keys = set([])
+ other_keys = set()
for x in components:
if x.name() != 'NUMERIC_RANGE_KEY':
other_keys.add(x)
« no previous file with comments | « tools/lexer_generator/test/lexer_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698