comparison ide/compiler/compiler.py @ 15:de004f808e56

Fixup in multidocument area stuff
author windel
date Tue, 15 Nov 2011 07:35:00 +0100
parents 2db4d2b362e6
children
comparison
equal deleted inserted replaced
11:607898120eb1 15:de004f808e56
37 for proc in ast.procs: 37 for proc in ast.procs:
38 if proc.public: 38 if proc.public:
39 sym = ExportedSymbol(proc.name, proc.typ) 39 sym = ExportedSymbol(proc.name, proc.typ)
40 sym.imageoffset = proc.entrypoint 40 sym.imageoffset = proc.entrypoint
41 ast.exports.append(sym) 41 ast.exports.append(sym)
42
43 return ast 42 return ast
44 43
44 def compileProject(self, project):
45 mods = []
46 for fname in project.files:
47 print('Compiling {0}...'.format(fname))
48 source = project.loadProjectFile(fname)
49 mod = self.compilesource(source)
50 mods.append(mod)
51 return mods
52
53