Rename TokenDFA -> LexerDFA
This commit is contained in:
1 parent
aa92970c31
commit
c6bac6d3a1
3 files changed
+5
-5
No files matched your search
@@ -51,7 +51,7 @@ end
|
||||
|
||||
def run(grammar, input)
|
||||
g = Imbecile::Grammar.new(grammar)
|
||||
token_dfa = Imbecile::TokenDFA.new(g.tokens)
|
||||
token_dfa = Imbecile::LexerDFA.new(g.tokens)
|
||||
test_lexer = TestLexer.new(token_dfa)
|
||||
test_lexer.lex(input)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user