[ nice-Bugs-887976 ] unhelpful error message
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #887976, was opened at 2004-01-31 02:55
Message generated for change (Comment added) made by bonniot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=887976&group_id=12788
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Isaac Gouy (igouy)
Assigned to: Nobody/Anonymous (nobody)
Summary: unhelpful error message
Initial Comment:
It was quite difficult figuring out that there simply isn't a
switch statement.
\Nice\Test\..\test\test.nice: line 6, column 16:
Encountered "1".
Was expecting one of:
"(" ...
"[" ...
"." ...
"=" ...
<assignmentOperator> ...
"++" ...
"--" ...
"[]" ...
":" ...
"<" ...
"[?]" ...
"?" ...
"->" ...
<IDENT> ...
void main(String[] args){
int j = 0;
char i = 3;
switch(i){
case 1:
j = i;
break;
case 2:
j = i;
break;
case 3:
j = i;
break;
default:
j = i;
break;
}
}
Nice compiler version 0.9.6 prerelease (build 2004.01.30,
19:05:54 UTC)
----------------------------------------------------------------------
>Comment By: Daniel Bonniot (bonniot)
Date: 2004-02-01 22:40
Message:
Logged In: YES
user_id=88952
I suppose many people might be running into this one. How
about making "switch" a keyword and addind a specific error
message when it is used?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=887976&group_id=12788
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn