mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Remove the manual comma.
This commit is contained in:
parent
08106156c4
commit
5f20ffc4de
@ -350,16 +350,12 @@ SQRESULT CtxJSON::SerializeAt(HSQUIRRELVM vm, SQInteger idx) // NOLINT(misc-no-r
|
|||||||
{
|
{
|
||||||
return r; // Propagate the error
|
return r; // Propagate the error
|
||||||
}
|
}
|
||||||
// Include the separator manually
|
|
||||||
mOutput.push_back(',');
|
|
||||||
} break;
|
} break;
|
||||||
case OT_ARRAY: {
|
case OT_ARRAY: {
|
||||||
if (SQRESULT r = SerializeArray(vm, idx); SQ_FAILED(r))
|
if (SQRESULT r = SerializeArray(vm, idx); SQ_FAILED(r))
|
||||||
{
|
{
|
||||||
return r; // Propagate the error
|
return r; // Propagate the error
|
||||||
}
|
}
|
||||||
// Include the separator manually
|
|
||||||
mOutput.push_back(',');
|
|
||||||
} break;
|
} break;
|
||||||
case OT_INSTANCE: {
|
case OT_INSTANCE: {
|
||||||
if (SQRESULT r = SerializeInstance(vm, idx); SQ_FAILED(r))
|
if (SQRESULT r = SerializeInstance(vm, idx); SQ_FAILED(r))
|
||||||
|
Loading…
Reference in New Issue
Block a user