--
Atenciosamente,
Leandro
I'm wondering if the message in the table is intended to be the exact
message (as in, an implementation must use exactly the specified
message), or if it is more a suggested/possible message. I had actually
interpreted it as the latter for two reasons:
1) The code is there for programs to recognize the error, so there's no
reason for programs to look at the message (I think it's bad practice
anyway). Therefore, the message is purely informational (for
humans/developers), so no need to nail it down.
2) It can actually be useful to give extra information when available:
in my implementation I actually give the exact error when a parse error
happens (i.e., Parse error: Expected a ',' or '}' at character 40). It's
nice if implementations are allowed to do this. :)
Regards,
Sebastiaan
--
Matt (MPCM)