mirror of
https://github.com/irmen/prog8.git
synced 2025-01-12 04:30:03 +00:00
don't use ./ prefix for %asmbinary paths
This commit is contained in:
parent
d4b69ac79c
commit
67b1766e32
@ -1274,7 +1274,7 @@ $repeatLabel lda $counterVar
|
|||||||
val length = if(stmt.args.size>2) ", ${stmt.args[2].int}" else ""
|
val length = if(stmt.args.size>2) ", ${stmt.args[2].int}" else ""
|
||||||
val includedSourcePath = stmt.definingModule().source.resolveSibling(stmt.args[0].str)
|
val includedSourcePath = stmt.definingModule().source.resolveSibling(stmt.args[0].str)
|
||||||
val relPath = Paths.get("").relativize(includedSourcePath)
|
val relPath = Paths.get("").relativize(includedSourcePath)
|
||||||
out(" .binary \"./$relPath\" $offset $length")
|
out(" .binary \"$relPath\" $offset $length")
|
||||||
}
|
}
|
||||||
"%breakpoint" -> {
|
"%breakpoint" -> {
|
||||||
val label = "_prog8_breakpoint_${breakpointLabels.size+1}"
|
val label = "_prog8_breakpoint_${breakpointLabels.size+1}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user