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