Token should build its own NFA

This commit is contained in:
josh committed 2021-06-06 14:09:28 -04:00
1 parent afea886ecb
commit 701903def2
3 files changed
+14 -7

No files matched your search

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