'hm'
This commit is contained in:
parent
fea31a2929
commit
e15879a616
@ -17,7 +17,7 @@ class automata:
|
||||
if len(node) == 3:
|
||||
self.storage.append([[node[0], node[2]], node[1]])
|
||||
elif len(node) == 1:
|
||||
self.accepting_states.append(node)
|
||||
self.accepting_states.append(node[0])
|
||||
|
||||
def test_string(self, text):
|
||||
self.state = '0'
|
||||
|
Loading…
Reference in New Issue
Block a user