Re: Isn't this wrong?
- Posted by CoJaBo Jul 25, 2010
- 1107 views
useless said...
That's what i get, i spose, for programming in several languages at 2am.
useless
Ah, the dangling IF at 2 in the morning..
I've been there before o_O
The error when you use a reserved keyword really ought to be improved-
"a name is expected here" is patent nonsense, because it worked before and to the reader there is clearly a name there, even though newer versions of Eu think it is some other type of token.
How about having the interpreter state what it thinks is there, like PHP does?
"expected a name, not a RETRY statement", just printing out whatever type of token Eu thinks it has there.
That should inspire the user to think, hey, theres a retry statement now, I cant use that as a name anymore.