[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #9674] cscc accepts missing semicolon in do-whil
From: |
Gopal.V |
Subject: |
[Pnet-developers] [bugs #9674] cscc accepts missing semicolon in do-while-statement |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #9674] Latest Modifications:
Changes by:
Gopal.V <address@hidden>
'Date:
Sat 07/17/2004 at 14:30 (Asia/Calcutta)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
The OptSemiColon was passing this code for the normal case.
This has been fixed in CVS .
/**************************************************************************/
[bugs #9674] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9674>
Project: DotGNU Portable.NET
Submitted by: Marcus Urban
On: Sat 07/17/2004 at 07:55
Category: None
Severity: 5 - Average
Item Group: None
Resolution: Fixed
Assigned to: None
Status: Closed
Summary: cscc accepts missing semicolon in do-while-statement
Original Submission: According to ECMA C# specs, the do-statement has the
syntax
do-statement: do embedded-statement while ( boolean-expression ) ;
cscc accepts the do-statement without the terminating semicolon.
On a sidenote: I have been told that some libraries in pnetlib are missing the
semicolon but do compile with cscc because of this bug.)
The attached test-case fails with csc:
/home/marcus/do-while-semicolon.cs(9,15): error CS1002: ; expected
However, it compiles with cscc.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Sat 07/17/2004 at 14:30 By: t3rmin4t0r
The OptSemiColon was passing this code for the normal case.
This has been fixed in CVS .
File Attachments
-------------------
-------------------------------------------------------
Date: Sat 07/17/2004 at 07:55 Name: do-while-semicolon.cs Size: 110B By:
mathpup
Test case
http://savannah.gnu.org/bugs/download.php?item_id=9674&item_file_id=1501
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9674>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/