diff options
author | Benedikt Böhm <bb@xnull.de> | 2009-07-04 19:26:09 +0200 |
---|---|---|
committer | Benedikt Böhm <bb@xnull.de> | 2009-07-04 19:26:09 +0200 |
commit | d517f267930e6c7c156bfd29f5c63bf604e9841e (patch) | |
tree | 7496dde90e41a30b546c9b65cc86c752ee754948 /src/front/ast.py | |
parent | 320d92e542f62473f3bc84fdf32defb5b2741fdc (diff) | |
download | swppy-d517f267930e6c7c156bfd29f5c63bf604e9841e.tar.gz swppy-d517f267930e6c7c156bfd29f5c63bf604e9841e.tar.xz swppy-d517f267930e6c7c156bfd29f5c63bf604e9841e.zip |
fix function call as statement, fix EBNF errors
Diffstat (limited to 'src/front/ast.py')
-rw-r--r-- | src/front/ast.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/front/ast.py b/src/front/ast.py index 875bdf0..77aab95 100644 --- a/src/front/ast.py +++ b/src/front/ast.py @@ -178,8 +178,7 @@ class FunctionCall(Statement, Expression): for argument in self.arguments: self.emit(Op.POP, 0) - # XXX: wrong signature? - def generate(self): + def generate(self, before, after, last): self.debug("FunctionCall.generate(): %s" % (repr(self))) self.push_params() self.emit(Op.CALL, self.ident, 0) |