diff python/c3/astnodes.py @ 186:46d62dadd61b

Improved testsuite
author Windel Bouwman
date Sat, 25 May 2013 14:26:25 +0200
parents 5fd02aa38b42
children 62386bcee1ba
line wrap: on
line diff
--- a/python/c3/astnodes.py	Fri May 24 20:45:03 2013 +0200
+++ b/python/c3/astnodes.py	Sat May 25 14:26:25 2013 +0200
@@ -73,10 +73,8 @@
 # Procedure types
 class Function(Symbol):
    """ Actual implementation of a function """
-   def __init__(self, name, typ=None, block=None):
+   def __init__(self, name):
       super().__init__(name)
-      self.body = block
-      self.typ = typ
    def __repr__(self):
       return '{0}'.format(self.name)