don't use ./ prefix for %asmbinary paths

This commit is contained in:
Irmen de Jong 2021-06-01 19:30:53 +02:00
parent d4b69ac79c
commit 67b1766e32

View File

@ -1274,7 +1274,7 @@ $repeatLabel lda $counterVar
val length = if(stmt.args.size>2) ", ${stmt.args[2].int}" else ""
val includedSourcePath = stmt.definingModule().source.resolveSibling(stmt.args[0].str)
val relPath = Paths.get("").relativize(includedSourcePath)
out(" .binary \"./$relPath\" $offset $length")
out(" .binary \"$relPath\" $offset $length")
}
"%breakpoint" -> {
val label = "_prog8_breakpoint_${breakpointLabels.size+1}"