cleanup code style

This commit is contained in:
Irmen de Jong
2021-12-30 18:47:38 +01:00
parent 7c889f17b9
commit d8f7feb672
3 changed files with 5 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ abstract class Zeropage(protected val options: CompilationOptions) {
if(position!=null)
errors.warn("allocated a large value (float) in zeropage", position)
else
errors.warn("$scopedname: allocated a large value (float) in zeropage", position ?: Position.DUMMY)
errors.warn("$scopedname: allocated a large value (float) in zeropage", Position.DUMMY)
options.compTarget.machine.FLOAT_MEM_SIZE
} else throw InternalCompilerException("floating point option not enabled")
}