mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-02-08 10:30:55 +00:00
Fix compiler. All tests pass once again.
This commit is contained in:
parent
b4e0756d7e
commit
f16cb75677
@ -193,7 +193,7 @@ class Compiler(object):
|
||||
else:
|
||||
raise UnsupportedOpcodeError(instr)
|
||||
elif opcode == 'call':
|
||||
label = self.labels[instr.name]
|
||||
label = self.labels[instr.location.name]
|
||||
self.emitter.emit(JSR(Absolute(label)))
|
||||
elif opcode == 'if':
|
||||
cls = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user