Start on Parser.parse()
This commit is contained in:
1 parent
f17efe8c82
commit
84c4a16ce6
3 files changed
+102
-21
No files matched your search
+2
-2
@@ -77,8 +77,8 @@ unittest
|
||||
assert(lexer.lex_token() == LT(1, 0, 3, Testparser.TOKEN_INT));
|
||||
assert(lexer.lex_token() == LT(1, 4, 1, Testparser.TOKEN_PLUS));
|
||||
assert(lexer.lex_token() == LT(1, 6, 3, Testparser.TOKEN_INT));
|
||||
assert(lexer.lex_token() == LT(1, 9, 0, Testparser.TOKEN_EOF));
|
||||
assert(lexer.lex_token() == LT(1, 9, 0, Testparser._TOKEN_EOF));
|
||||
|
||||
lexer = new Testparser.Lexer(null, 0u);
|
||||
assert(lexer.lex_token() == LT(0, 0, 0, Testparser.TOKEN_EOF));
|
||||
assert(lexer.lex_token() == LT(0, 0, 0, Testparser._TOKEN_EOF));
|
||||
}
|
||||
Reference in new issue
Block a user