Update JsonEncoder.cpp

fix JsonEncoder so that AstArray elems are given commas seperating them
This commit is contained in:
Braeden 2021-12-06 19:27:39 -06:00
parent 9488f2379d
commit 1bcb372bf4

View file

@ -262,7 +262,7 @@ struct AstJsonEncoder : public AstVisitor
if (comma) if (comma)
writeRaw(","); writeRaw(",");
else else
comma = false; comma = true;
write(a); write(a);
} }