[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #8208] #endregion tokenisation not compatible wi
From: |
Russell Stuart |
Subject: |
[Pnet-developers] [bugs #8208] #endregion tokenisation not compatible with VS |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021224 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #8208] Latest Modifications:
Changes by:
Russell Stuart <address@hidden>
'Date:
Fri 05/07/04 at 18:13 (Australia/Brisbane)
What | Removed | Added
---------------------------------------------------------------------------
Status | Open | Closed
/**************************************************************************/
[bugs #8208] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8208>
Project: DotGNU Portable.NET
Submitted by: Russell Stuart
On: Fri 03/19/04 at 13:53
Category: None
Severity: 5 - Average
Item Group: None
Resolution: Fixed
Assigned to: None
Status: Closed
Summary: #endregion tokenisation not compatible with VS
Original Submission: This code compiles under VS without errors or warnings.
It does not compile under VS.
class X {
#region
#endregion;
}
Follow-up Comments
------------------
-------------------------------------------------------
Date: Fri 05/07/04 at 17:55 By: rstuart
patch applied.
-------------------------------------------------------
Date: Fri 04/02/04 at 08:07 By: rstuart
This patch makes cscc give errors on the same lines as csc, although the
messages are different.
-------------------------------------------------------
Date: Wed 03/24/04 at 02:42 By: rstuart
Re VS ignoring everything after the #endregion - so does PNet. Its just the ;
that confuses it. Hence the bug title - I suspect the tokenisation of the #
directives is at fault - it is including the ';' in the #endregion token. If
it regarded the ; as a separate token all would be OK.
-------------------------------------------------------
Date: Tue 03/23/04 at 17:23 By: None
#region int asd ljasljd ljasljd ljasdlj jkahsf lakhsdfl
#endregion int asjhdkahsd ksakd kasd laskjd las
it appears the VS compiler ignores everything after the directive to line end
as the snippet above is valid.
-------------------------------------------------------
Date: Sat 03/20/04 at 02:14 By: rstuart
The comments I added to the other bug apply equally well here. Sorry for the
repetition ...
The code containing construct this _does_ compile under VS. I have verified
this. I have a copy of VS. Before submitting the bug I put the example given
in a file called x.cs, and compiled it. I did not pass the compiler any
special switches. As the original buig report says, VS did not give any errors
or warnings.
I am reporting this because I am in the process of porting NUnit to PNet.
NUnit was obviously developed under VS. It contains a more complex version of
the code submitted.
Its not really about being technically right or wrong. Its about being
compatible with MS's implementation of C#. I don't know if that is one of
PNet's goals, but I thought I would submit it anyway. If it is not one I
PNet's goals I can always submit a patch to NUnit.
Let me know what the decision is.
-------------------------------------------------------
Date: Fri 03/19/04 at 16:30 By: t3rmin4t0r
#endregion;
Extra semicolon ?
File Attachments
-------------------
-------------------------------------------------------
Date: Fri 04/02/04 at 08:07 Name: endregion.patch Size: 656KB By: rstuart
diff -Nur
http://savannah.gnu.org/bugs/download.php?item_id=8208&item_file_id=1149
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8208>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/