diff python/c3/builder.py @ 225:1c7364bd74c7

Fixed pointer deref
author Windel Bouwman
date Thu, 11 Jul 2013 07:42:30 +0200
parents c1ccb1cb4cef
children 240111e0456f
line wrap: on
line diff
--- a/python/c3/builder.py	Tue Jul 09 17:59:15 2013 +0200
+++ b/python/c3/builder.py	Thu Jul 11 07:42:30 2013 +0200
@@ -1,5 +1,6 @@
 import ppci
 from . import Parser, TypeChecker, Analyzer, CodeGenerator
+from . astprinter import AstPrinter
 
 class Builder:
     """ 
@@ -19,6 +20,7 @@
             return
       self.pkg = pkg
       # TODO: merge the two below?
+      #AstPrinter().printAst(pkg)
       if not self.al.analyzePackage(pkg):
             return
       if not self.tc.checkPackage(pkg):