Mark regex NFA end state as accepting the token

This commit is contained in:
josh committed 2021-05-18 16:34:26 -04:00
1 parent 7196a0605a
commit c77c81bf25
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -5,6 +5,8 @@ module Imbecile
class State
attr_accessor :accepts
def initialize
@transitions = []
end