diff python/ide.py @ 102:63937c8d1478

Fixes and start with ir generator
author windel
date Tue, 25 Dec 2012 11:11:24 +0100
parents af0d7913677a
children f2d980eef509
line wrap: on
line diff
--- a/python/ide.py	Mon Dec 24 17:55:08 2012 +0100
+++ b/python/ide.py	Tue Dec 25 11:11:24 2012 +0100
@@ -317,8 +317,8 @@
         source = ce.source
         self.buildOutput.clear()
         self.buildOutput.append(str(self.compiler))
-        print(source)
-        self.compiler.compilesource(source)
+        ast = self.compiler.compilesource(source)
+        self.astViewer.setAst(ast)
         self.buildOutput.append("Done!")
   def buildProject(self):
      """ Build project """