bugDotGNU Portable.NET - Bugs: bug #6190, Preprocessor handles symbol `?'...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #6190: Preprocessor handles symbol `?' incorrectly

Submitted by:  Ilyak <Ilyak>
Submitted on:  Mon 27 Oct 2003 08:51:34 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 15 Mar 2004 11:30:27 PM UTC, comment #3:

Fix committed - 16 March 2004

Rhys Weatherley <rweather>
Project Administrator
Mon 24 Nov 2003 09:38:02 AM UTC, comment #2:

Shouldn't this bug be closed ? (if the patch was right ?)

Gopal.V <t3rmin4t0r>
Project Administrator
Mon 27 Oct 2003 12:29:41 PM UTC, comment #1:

Try the following patch ... this is not a complete fix
because god knows where else we need to handle scomment
instead of just if(!comment)

--------------------------CUT HERE--------------------------

--- common/cc_preproc.c 2003-10-27 18:00:30.234375000 +0530
+++ common/cc_preproc.c 2003-07-08 16:46:05.000000000 +0530
@@ -351,7 +351,7 @@
else
{
ungetc(ch, stream);
- if(!comment && !scomment)
+ if(!comment)
{
ADD_CH(0xE2);
}
@@ -401,7 +401,7 @@
else
{
ungetc(ch, stream);
- if(!comment && !scomment)
+ if(!comment)
{
ADD_CH(0xEF);
}

Anonymous
Mon 27 Oct 2003 08:51:34 AM UTC, original submission:

attached program will not compile: will say
parse error near `?'

looks like it handles `?' as CR or something.

? is russian o and ? is russian v, so they can sometimes be rapid in comments, etc

Ilyak <Ilyak>

 

Attached Files
file #762:  test.cs added by Ilyak (132B - application/octet-stream - minimal program showing this bug)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 15 Mar 2004 11:30:27 PM UTCrweatherStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1