projects
/
python-bulletml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Action.step: Construct Actions using Child.
[python-bulletml.git]
/
bulletml
/
impl.py
diff --git
a/bulletml/impl.py
b/bulletml/impl.py
index
d6753e3
..
ea4893f
100644
(file)
--- a/
bulletml/impl.py
+++ b/
bulletml/impl.py
@@
-120,8
+120,7
@@
class Action(object):
action = self.actions[self.pc]
if isinstance(action, (parser.ActionDef, parser.ActionRef)):
action = self.actions[self.pc]
if isinstance(action, (parser.ActionDef, parser.ActionRef)):
- actions, params = action(s_params, rank)
- child = self.__class__(self, actions, params, rank)
+ child = self.Child(action, s_params, rank)
owner.replace(self, child)
child.step(owner, created)
break
owner.replace(self, child)
child.step(owner, created)
break