Generator builds a Lexer, not a Lexer::DFA
This commit is contained in:
1 parent
51a31317a6
commit
f295acb593
3 files changed
+10
-2
No files matched your search
+1
-1
@@ -115,7 +115,7 @@ class <%= classname %>
|
||||
uint accepts;
|
||||
}
|
||||
|
||||
<% transition_table, state_table = lexer_dfa.build_tables %>
|
||||
<% transition_table, state_table = lexer.dfa.build_tables %>
|
||||
private static const Transition transitions[] = [
|
||||
<% transition_table.each do |transition_table_entry| %>
|
||||
Transition(<%= transition_table_entry[:first] %>u, <%= transition_table_entry[:last] %>u, <%= transition_table_entry[:destination] %>u),
|
||||
|
||||
Reference in new issue
Block a user