diff python/c3/scope.py @ 155:b28a11c01dbe

Simplified IR classes
author Windel Bouwman
date Sun, 03 Mar 2013 13:20:03 +0100
parents 4ae0e02599de
children 8104fc8b5e90
line wrap: on
line diff
--- a/python/c3/scope.py	Sat Mar 02 10:19:38 2013 +0100
+++ b/python/c3/scope.py	Sun Mar 03 13:20:03 2013 +0100
@@ -24,10 +24,9 @@
       self.symbols[sym.name] = sym
 
 def createBuiltins(scope):
-   for tn in ['int', 'u32', 'u16', 'double']:
+   for tn in ['int', 'u32', 'u16', 'double', 'void']:
       scope.addSymbol(astnodes.BaseType(tn))
 
 topScope = Scope()
-
 createBuiltins(topScope)