satya-das / cppparser

A library to parse C/C++ source as AST
MIT License
270 stars 33 forks source link

Parse error when comment is nested inside struct initializer #30

Open martinergb opened 1 year ago

martinergb commented 1 year ago

This is an example of code that generates the error

struct S { bool a; bool b; };

int main() { S s { false,

//error here
false };

return 0;

}