Fix extra space in ErrorInstruction line of errors

This commit is contained in:
2026-03-18 15:26:24 +11:00
parent e58eec6f08
commit 8f34705965

View File

@@ -541,6 +541,7 @@ void printGroundInstruction(GroundInstruction* gi) {
}
if (gi->type != CREATELABEL) printf(" ");
for (size_t i = 0; i < gi->args.length; i++) {
if (i != 0) printf(" ");
if (gi->args.args[i].type == VALUE && gi->args.args[i].value.value.type == STRING) {
printf("\"");
printGroundArg(&gi->args.args[i]);
@@ -548,7 +549,6 @@ void printGroundInstruction(GroundInstruction* gi) {
} else {
printGroundArg(&gi->args.args[i]);
}
printf(" ");
}
}