[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: |
Marcus Urban |
Subject: |
[Pnet-developers] [bugs #9674] cscc accepts missing semicolon in do-while-statement |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.2; Linux 2.4.21-144-athlon; X11; i686; en_US, en) (KHTML, like Gecko) |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[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: None
Assigned to: None
Status: Open
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.
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/
- [Pnet-developers] [bugs #9674] cscc accepts missing semicolon in do-while-statement,
Marcus Urban <=