[Mono-bugs] [Bug 22118] New - parsing fails when a preprocessor directive follows a line with close brace // comment

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Mar 2002 10:10:51 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=22118

--- shadow/22118	Tue Mar 19 05:10:51 2002
+++ shadow/22118.tmp.20050	Tue Mar 19 05:10:51 2002
@@ -0,0 +1,27 @@
+Bug#: 22118
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: parsing fails when a preprocessor directive follows a line with close brace // comment
+
+This sample program doesn't compile with mcs (both linux and windows):
+namespace Simple {
+        public class Test {
+                public static int Main() {
+                        return 0;
+                }
+        } // comment
+#line 10 "mytestfile"
+}