Add spaces between printed values
This commit is contained in:
@@ -79,12 +79,14 @@ struct GroundExecutionResult _GroundBytecodeInstructionExecute(GroundBytecodeIns
|
|||||||
PRINT: {
|
PRINT: {
|
||||||
for (GroundSize i = 0; i < instruction->args.len; i++) {
|
for (GroundSize i = 0; i < instruction->args.len; i++) {
|
||||||
printValue(HEAP_GET(heap, instruction->args.at[i]));
|
printValue(HEAP_GET(heap, instruction->args.at[i]));
|
||||||
|
printf(" ");
|
||||||
}
|
}
|
||||||
return CONTINUE;
|
return CONTINUE;
|
||||||
}
|
}
|
||||||
PRINTLN: {
|
PRINTLN: {
|
||||||
for (GroundSize i = 0; i < instruction->args.len; i++) {
|
for (GroundSize i = 0; i < instruction->args.len; i++) {
|
||||||
printValue(HEAP_GET(heap, instruction->args.at[i]));
|
printValue(HEAP_GET(heap, instruction->args.at[i]));
|
||||||
|
printf(" ");
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
return CONTINUE;
|
return CONTINUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user