Rename TokenDFA -> LexerDFA

This commit is contained in:
josh committed 2021-06-08 13:54:46 -04:00
1 parent aa92970c31
commit c6bac6d3a1
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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