cppparser icon indicating copy to clipboard operation
cppparser copied to clipboard

Parse error when comment is nested inside struct initializer

Open martinergb opened this issue 2 years ago • 0 comments

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;

}

martinergb avatar Aug 19 '23 04:08 martinergb