[ 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-30 17:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
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)

----------------------------------------------------------------------

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.