1
0
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:
Chris Pressey 2019-10-22 13:26:21 +01:00
parent 175c07781a
commit c70e4a55e4

View File

@ -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