From 4aedc5d76250fae734af1cd89256ec70e165ab18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20B=C3=B6hm?= Date: Mon, 29 Jun 2009 12:28:01 +0200 Subject: fix function_call - function_call is now an expression and a statement - call keyword is required to make lookahead = 1 work --- src/front/ast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/front/ast.py') diff --git a/src/front/ast.py b/src/front/ast.py index 751d38d..d6d4a3f 100644 --- a/src/front/ast.py +++ b/src/front/ast.py @@ -25,7 +25,7 @@ class Function(Node): self.lineno = lineno def __repr__(self): - return "" % (self.name, str(self.params), str(self.statements)) + return "" % (self.name, str(self.params), self.lineno, str(self.statements)) def eval(self,tacarray): return tacarray.append(te) -- cgit v1.2.3