projects
/
python-bulletml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aea8f4
)
Action.step: Construct Actions using Child.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Wed, 21 Apr 2010 09:01:43 +0000
(
02:01
-0700)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Wed, 21 Apr 2010 09:01:43 +0000
(
02:01
-0700)
bulletml/impl.py
patch
|
blob
|
history
diff --git
a/bulletml/impl.py
b/bulletml/impl.py
index d6753e3aafb78a3c778868fe1fecd72156138970..ea4893f42dacfaf91cc1b7bcc0693400d2d27d8e 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)):
- 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