diff python/c3/semantics.py @ 175:a51b3c956386

Added function call in expressions
author Windel Bouwman
date Fri, 19 Apr 2013 22:15:54 +0200
parents ee0d30533dae
children b01429a5d695
line wrap: on
line diff
--- a/python/c3/semantics.py	Fri Apr 19 19:22:52 2013 +0200
+++ b/python/c3/semantics.py	Fri Apr 19 22:15:54 2013 +0200
@@ -34,8 +34,8 @@
       self.curScope = self.curFunc.scope = Scope(self.curScope)
    def actOnParameter(self, name, loc, t):
       p = astnodes.Variable(name, t)
+      p.isParameter = True
       p.loc = loc
-      p.parameter = True
       self.addSymbol(p)
       return p
    def actOnFuncDef2(self, parameters, returntype, body):