mirror of
https://github.com/irmen/prog8.git
synced 2025-01-28 17:33:13 +00:00
bugfix
This commit is contained in:
parent
bfc8a26381
commit
31c946aeeb
@ -427,8 +427,4 @@ class AstToSourceCode(val output: (text: String) -> Unit, val program: Program):
|
|||||||
whenChoice.statements.accept(this)
|
whenChoice.statements.accept(this)
|
||||||
outputln("")
|
outputln("")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun visit(nopStatement: NopStatement) {
|
|
||||||
output("; NOP @ ${nopStatement.position} $nopStatement")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -253,6 +253,7 @@ internal class ExpressionsAsmGen(private val program: Program, private val asmge
|
|||||||
}
|
}
|
||||||
else -> throw AssemblyError("weird type")
|
else -> throw AssemblyError("weird type")
|
||||||
}
|
}
|
||||||
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"<<" -> {
|
"<<" -> {
|
||||||
@ -278,6 +279,7 @@ internal class ExpressionsAsmGen(private val program: Program, private val asmge
|
|||||||
else
|
else
|
||||||
asmgen.out(" jsr math.shift_left_w_$left")
|
asmgen.out(" jsr math.shift_left_w_$left")
|
||||||
}
|
}
|
||||||
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"*" -> {
|
"*" -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user