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

Submitter:  Ilyak <Ilyak>
Submitted:  Mon 27 Oct 2003 08:51:34 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

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

Fix committed - 16 March 2004

Rhys Weatherley <rweather>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-03-15 rweather StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.12