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

Unified Diff: tools/lexer_generator/rule_parser.py

Issue 78153002: Experimental parser: remove some dead code (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month 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/nfa_builder.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/rule_parser.py
diff --git a/tools/lexer_generator/rule_parser.py b/tools/lexer_generator/rule_parser.py
index d15ee23773bb218c84b59afe6ab7bab238e43882..9761bffa1ebd7da847c699dd3535f6fc5decb918 100644
--- a/tools/lexer_generator/rule_parser.py
+++ b/tools/lexer_generator/rule_parser.py
@@ -306,9 +306,8 @@ class RuleProcessor(object):
graph = NfaBuilder.add_continue(graph)
else:
assert subgraph == 'default'
- subgraph_modifier = None
graph = NfaBuilder.join_subgraph(
- graph, transition, rule_map[transition], subgraph_modifier)
+ graph, transition, rule_map[transition])
graphs.append(graph)
if continues == len(graphs):
graphs.append(NfaBuilder.epsilon())
« no previous file with comments | « tools/lexer_generator/nfa_builder.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698