[Bug c++/39858] C++: "expected primary-expression" error could be more useful

2009-08-05 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2009-08-05 10:16 --- At the moment the parser detects and reports the error, it doesn't know that it is parsing an array subscript. We could test for typical errors before trying to parse the expression but that would pessimize valid code.

[Bug c++/39858] C++: "expected primary-expression" error could be more useful

2009-04-29 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2009-04-29 13:23 --- Confirmed. -- manu at gcc dot gnu dot org changed: What|Removed |Added CC|