diff python/ppci/c3/astnodes.py @ 301:6753763d3bec

merge codegen into ppci package
author Windel Bouwman
date Thu, 05 Dec 2013 17:02:38 +0100
parents 158068af716c
children b145f8e6050b
line wrap: on
line diff
--- a/python/ppci/c3/astnodes.py	Tue Dec 03 18:00:22 2013 +0100
+++ b/python/ppci/c3/astnodes.py	Thu Dec 05 17:02:38 2013 +0100
@@ -27,9 +27,9 @@
 
 
 # Modules
-class Package(Node):
+class Package(Symbol):
     def __init__(self, name, loc):
-        self.name = name
+        super().__init__(name)
         self.loc = loc
         self.declarations = []
         self.imports = []