(in C++)
lines like
struct aaa { something } *bbb = NULL;
result in
ReadVarNames() : Unexpected token '=' for 'aaa', file '...
on the console, despite this being perfectly normal C++
Has this ever worked? Which is the last version you know that works correctly? Can you share the full source code (best if it doesn't include anything) that can be used to reproduce the problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, those steps are very difficult:
step 1: put the line in any C++ project
step 2: see the error on the console
Why did you ask for a more complicated way to reproduce, if you didn't even test what I had already provided?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has this ever worked? Which is the last version you know that works correctly? Can you share the full source code (best if it doesn't include anything) that can be used to reproduce the problem?
I did not say, that it's a regression. It's a bug, in that version.
Are you not able to reproduce it with that line?
I've not tried, because the steps to reproduce aren't clear and I'm not working on the CC.
Yeah, those steps are very difficult:
step 1: put the line in any C++ project
step 2: see the error on the console
Why did you ask for a more complicated way to reproduce, if you didn't even test what I had already provided?
I can confirm this bug, just put the line
struct aaa { something } *bbb = NULL;
in an empty source file, then reparse the project.
It is a bug as I see. Thanks for the report, and the minimal test code.