dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bug #6190] Preprocessor handles symbol `?' incorrectl


From: nobody
Subject: [Pnet-developers] [bug #6190] Preprocessor handles symbol `?' incorrectly
Date: Mon, 27 Oct 2003 07:29:41 -0500
User-agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

=================== BUG #6190: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6190&group_id=353

Changes by: Anonymous user        Date: Mon 10/27/2003 at 07:29

------------------ Additional Follow-up Comments ----------------------------
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);
                                }




=================== BUG #6190: FULL BUG SNAPSHOT ===================


Submitted by: Ilyak                   Project: DotGNU Portable.NET          
Submitted on: Mon 10/27/2003 at 03:51
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

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 10/27/2003 at 07: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);
                                }



CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Mon 10/27/2003 at 03:51  Name: test.cs  Size: 0KB   By: Ilyak
minimal program showing this bug
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=6190&bug_file_id=756


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6190&group_id=353

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



reply via email to

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