AST JSON: Malformed output missing commas
Some of the output is missing commas, which makes invalid JSON.
@Caleb-o I'm fixing some of the commas, but I can't reproduce your example (a struct with what appears to be a list of members as just strings). Can you give your code snippet?
For example, for me
struct Point {
int x;
int y;
}
results in
"types": {
"example::Point": {
"kind": "struct",
"members": [
{
"name:": "x",
"type:": "Point"
},
{
"name:": "y",
"type:": "Point"
}
]
}
},
@hwchen I just tried running this again and it would seem it has been fixed now?
Oh, I see now https://github.com/c3lang/c3c/commit/1adad860f495800be69423a1c2917a72c4ec3d1d
I have some additional fixes up at https://github.com/c3lang/c3c/pull/1550/
Is this fixed now?
I've fixed all issues in the current code.