Token should build its own NFA
This commit is contained in:
1 parent
afea886ecb
commit
701903def2
3 files changed
+14
-7
No files matched your search
@@ -38,7 +38,7 @@ module Imbecile
|
||||
nfa_state_set.each do |nfa_state|
|
||||
if nfa_state.accepts
|
||||
if state.accepts
|
||||
if nfa_state.accepts.to_i < state.accepts.to_i
|
||||
if nfa_state.accepts.id < state.accepts.id
|
||||
state.accepts = nfa_state.accepts
|
||||
end
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user