http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44515
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nicola at gcc dot gnu.org
--- Comment #5 from Nicola Pero <nicola at gcc dot gnu.org> 2011-01-17 23:34:31
UTC ---
I like Joseph's suggestion - I had been thinking for a while about the C/ObjC
FE
error messages and came to the same conclusion: ideally it should prominently
mention the last valid token (that's how you think about the error, the code is
valid until "bar()", then there is an error), but also mentioning the next,
unexpected token helps you find the error location when you're looking at the
code.
So, shall we go for
error: missing ‘;’ after expression and before ‘}’
then ?
I guess we'd need to change all the errors in sync.
Thanks