summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--statemachine.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/statemachine.py b/statemachine.py
index 8be3db7..133fd17 100644
--- a/statemachine.py
+++ b/statemachine.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
__docformat__ = 'restructuredtext'
from category import Category
@@ -44,10 +45,12 @@ class StateMachine:
found.append(res)
if found == None:
self.add_hold(cat, wanted)
+ sm.emit(Category("ε"))
return True
to_add = self.cat_cross(found)
for x in to_add:
self.add_hold(x, wanted)
+ sm.emit(Category("ε"))
return True
def cat_cross(self, found):