mirror of
https://github.com/irmen/prog8.git
synced 2025-11-03 04:17:16 +00:00
fix clobbers syntax in symboldumper
This commit is contained in:
@@ -213,7 +213,7 @@ class AstToSourceTextConverter(val output: (text: String) -> Unit, val program:
|
|||||||
}
|
}
|
||||||
output(") ")
|
output(") ")
|
||||||
if(subroutine.asmClobbers.isNotEmpty()) {
|
if(subroutine.asmClobbers.isNotEmpty()) {
|
||||||
output("-> clobbers (")
|
output(" clobbers (")
|
||||||
val regs = subroutine.asmClobbers.toList().sorted()
|
val regs = subroutine.asmClobbers.toList().sorted()
|
||||||
for(r in regs) {
|
for(r in regs) {
|
||||||
output(r.toString())
|
output(r.toString())
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ private class SymbolDumper(val skipLibraries: Boolean): IAstVisitor {
|
|||||||
}
|
}
|
||||||
output(") ")
|
output(") ")
|
||||||
if(subroutine.asmClobbers.isNotEmpty()) {
|
if(subroutine.asmClobbers.isNotEmpty()) {
|
||||||
output("-> clobbers (")
|
output(" clobbers (")
|
||||||
val regs = subroutine.asmClobbers.toList().sorted()
|
val regs = subroutine.asmClobbers.toList().sorted()
|
||||||
for(r in regs) {
|
for(r in regs) {
|
||||||
output(r.toString())
|
output(r.toString())
|
||||||
|
|||||||
Reference in New Issue
Block a user