mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-21 10:31:25 +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')
|
||||
|
||||
program = Program(self.scanner.line_number, defns=defns, routines=routines)
|
||||
programs = includes + [program]
|
||||
program = merge_programs(programs)
|
||||
|
||||
self.resolve_symbols(program)
|
||||
return program
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user