forked from ground/ground
Fix extra space in ErrorInstruction line of errors
This commit is contained in:
@@ -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(" ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user