Community
Participate
Working Groups
I20050202-0800 double const= Math.PI; The error message is: 'Syntax error on token "Invalid Character", invalid VariableDeclaratorId' For keywords other than "const" and "goto", the error message includes the offending constant's name in the error message, i.e. 'Syntax error on token "public", invalid VariableDeclaratorId'.
The problem comes from the fact that goto and const are not returned as tokens.
Added const and goto as tokens. Error message are now consistent. Fixed and released in HEAD.
Verified in I20050215-2300