mirror of
https://github.com/irmen/prog8.git
synced 2026-04-19 04:17:08 +00:00
added -D command line option to define symbols in the assembly file
This commit is contained in:
@@ -58,6 +58,9 @@ class CodeGen(internal val program: PtProgram,
|
||||
}
|
||||
}
|
||||
|
||||
if(options.symbolDefs.isNotEmpty())
|
||||
throw AssemblyError("virtual target doesn't support symbols defined on the commandline")
|
||||
|
||||
for (block in program.allBlocks()) {
|
||||
vmprog.addBlock(translate(block))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user