Minor change (all test suite is passing)
This commit is contained in:
parent
76ee8c7454
commit
385701ab83
|
@ -1177,7 +1177,6 @@ proc beginProgram(self: BytecodeCompiler): int =
|
||||||
## bytecode. Returns the position of
|
## bytecode. Returns the position of
|
||||||
## a dummy return address of the program's
|
## a dummy return address of the program's
|
||||||
## entry point to be patched by terminateProgram
|
## entry point to be patched by terminateProgram
|
||||||
|
|
||||||
if self.currentModule.isNil():
|
if self.currentModule.isNil():
|
||||||
# We declare the program's main module
|
# We declare the program's main module
|
||||||
var mainModule = BytecodeName(kind: NameKind.Module,
|
var mainModule = BytecodeName(kind: NameKind.Module,
|
||||||
|
|
Loading…
Reference in New Issue