mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-22 01:32:13 +00:00
Merge included programs.
This commit is contained in:
parent
175c07781a
commit
c70e4a55e4
@ -128,6 +128,9 @@ class Parser(object):
|
|||||||
self.scanner.check_type('EOF')
|
self.scanner.check_type('EOF')
|
||||||
|
|
||||||
program = Program(self.scanner.line_number, defns=defns, routines=routines)
|
program = Program(self.scanner.line_number, defns=defns, routines=routines)
|
||||||
|
programs = includes + [program]
|
||||||
|
program = merge_programs(programs)
|
||||||
|
|
||||||
self.resolve_symbols(program)
|
self.resolve_symbols(program)
|
||||||
return program
|
return program
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user