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

Unified Diff: tools/lexer_generator/lexer_test.py

Issue 77863004: Experimental parser: small cleanups (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/dfa.py ('k') | tools/lexer_generator/nfa.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/lexer_test.py
diff --git a/tools/lexer_generator/lexer_test.py b/tools/lexer_generator/lexer_test.py
index 53630b95caee2db1255a4179069df68166997a3c..1d1707b124deae8947afaf3ee6c72bd861679698 100644
--- a/tools/lexer_generator/lexer_test.py
+++ b/tools/lexer_generator/lexer_test.py
@@ -39,7 +39,8 @@ class LexerTestCase(unittest.TestCase):
self.assertEquals(expected[i][0], action)
self.assertEquals(expected[i][1], string[start : stop])
- def __terminate(self):
+ @staticmethod
+ def __terminate():
return (Action(None, ('terminate', None)), '\0')
def test_simple(self):
« no previous file with comments | « tools/lexer_generator/dfa.py ('k') | tools/lexer_generator/nfa.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698