comparison python/c3/builder.py @ 207:8b2f20aae086

cleaning of files
author Windel Bouwman
date Sat, 29 Jun 2013 10:05:42 +0200
parents b01429a5d695
children 003c8a976fff
comparison
equal deleted inserted replaced
206:6c6bf8890d8a 207:8b2f20aae086
14 self.cg = CodeGenerator() 14 self.cg = CodeGenerator()
15 self.ap = AstPrinter() 15 self.ap = AstPrinter()
16 def build(self, src): 16 def build(self, src):
17 """ Create IR-code from sources """ 17 """ Create IR-code from sources """
18 pkg = self.parser.parseSource(src) 18 pkg = self.parser.parseSource(src)
19 self.pkg = pkg
19 if not pkg: 20 if not pkg:
20 return 21 return
21 if not self.al.analyzePackage(pkg): 22 if not self.al.analyzePackage(pkg):
22 return 23 return
23 if not self.tc.checkPackage(pkg): 24 if not self.tc.checkPackage(pkg):