Mark regex NFA end state as accepting the token
This commit is contained in:
1 parent
7196a0605a
commit
c77c81bf25
2 files changed
+4
-1
No files matched your search
@@ -5,6 +5,8 @@ module Imbecile
|
||||
|
||||
class State
|
||||
|
||||
attr_accessor :accepts
|
||||
|
||||
def initialize
|
||||
@transitions = []
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user