'hm'
This commit is contained in:
parent
21358da847
commit
47630e9890
@ -25,7 +25,7 @@ class automata:
|
||||
for i in text:
|
||||
self.state = self.get_node_transition([self.state, i])
|
||||
if self.state == None:
|
||||
return 'FALSE none %s' % text
|
||||
return 'FALSE %s' % text
|
||||
|
||||
if self.state in self.accepting_states:
|
||||
return 'TRUE %s' % text
|
||||
|
Loading…
Reference in New Issue
Block a user