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

Unified Diff: tools/lexer_generator/generator.py

Issue 64853005: Experimental lexer generator: Fix. (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/generator.py
diff --git a/tools/lexer_generator/generator.py b/tools/lexer_generator/generator.py
index c9a32c2303ba761146e96ead30aa3a8343f3da8f..152602a75cef4ede76daf54d21c0581ee429db93 100644
--- a/tools/lexer_generator/generator.py
+++ b/tools/lexer_generator/generator.py
@@ -82,7 +82,7 @@ class Generator(object):
loads.append(load_template % ("nfa [%s]" % name, nfa_i))
loads.append(load_template % ("dfa [%s]" % name, dfa_i))
body = "\n".join(scripts) + (load_outer_template % "\n".join(loads))
- return file_template % body
+ return file_template % body
def process_rules(self, parser_state):
rule_map = {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698