diff python/c3/astnodes.py @ 215:c1ccb1cb4cef

Major changes in c3 frontend
author Windel Bouwman
date Fri, 05 Jul 2013 13:00:03 +0200
parents 003c8a976fff
children 8b2e5f3cd579
line wrap: on
line diff
--- a/python/c3/astnodes.py	Fri Jul 05 11:18:58 2013 +0200
+++ b/python/c3/astnodes.py	Fri Jul 05 13:00:03 2013 +0200
@@ -106,6 +106,7 @@
     def __init__(self, name, loc):
         super().__init__(name)
         self.loc = loc
+        self.declarations = []
 
     def __repr__(self):
         return '{}'.format(self.name)