dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #6190] Preprocessor handles symbol `?' incorrect


From: Rhys Weatherley
Subject: [Pnet-developers] [bugs #6190] Preprocessor handles symbol `?' incorrectly
Date: Mon, 15 Mar 2004 18:30:44 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #6190] Latest Modifications:

Changes by: 
                Rhys Weatherley <address@hidden>
'Date: 
                Mon 03/15/04 at 23:30 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fix committed - 16 March 2004






/**************************************************************************/
[bugs #6190] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=6190>
Project: DotGNU Portable.NET
Submitted by: Ilyak
On: Mon 10/27/03 at 08:51

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  Preprocessor handles symbol `?' incorrectly

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

Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 03/15/04 at 23:30         By: rweather
Fix committed - 16 March 2004

-------------------------------------------------------
Date: Mon 11/24/03 at 09:38         By: t3rmin4t0r
Shouldn't this bug be closed ? (if the patch was right ?)

-------------------------------------------------------
Date: Mon 10/27/03 at 12:29         By: None
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);
                                }







File Attachments
-------------------

-------------------------------------------------------
Date: Mon 10/27/03 at 08:51  Name: test.cs  Size: 132KB   By: Ilyak
minimal program showing this bug
http://savannah.gnu.org/bugs/download.php?item_id=6190&amp;item_file_id=756






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=6190>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]