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

Unified Diff: tools/lexer_generator/dfa.py

Issue 69293005: Experimental parser: add catch all rule (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
Index: tools/lexer_generator/dfa.py
diff --git a/tools/lexer_generator/dfa.py b/tools/lexer_generator/dfa.py
index 03b9b05afd9d5607ba3cf4d258f12ec3c5feb468..98f7559c9b65723a24942267bc0c7231a144a396 100644
--- a/tools/lexer_generator/dfa.py
+++ b/tools/lexer_generator/dfa.py
@@ -156,6 +156,9 @@ class Dfa(Automaton):
state_iterator = lambda x : [x]
return self.generate_dot(self.__start, self.__terminal_set, iterator, state_iterator)
+ def minimize(self):
+ pass
+
def to_code(self):
code = '''
char c = *cursor;

Powered by Google App Engine
This is Rietveld 408576698