[Mono-bugs] [Bug 56460][Wis] Changed - CS1040: Preprocessor directives must appear as the first non ws char
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 6 Jan 2005 21:06:47 -0500 (EST)
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 duncan@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=56460
--- shadow/56460 2005-01-06 09:41:06.000000000 -0500
+++ shadow/56460.tmp.32048 2005-01-06 21:06:47.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 56460
Product: Mono: Compilers
Version: unspecified
OS: unknown
OS Details:
-Status: RESOLVED
-Resolution: FIXED
+Status: ASSIGNED
+Resolution:
Severity: Unknown
Priority: Wishlist
Component: C#
AssignedTo: duncan@ximian.com
ReportedBy: bmaurer@users.sf.net
QAContact: mono-bugs@ximian.com
@@ -42,6 +42,18 @@
and not cs0547.cs.
------- Additional Comments From duncan@ximian.com 2005-01-06 09:41 -------
<harinath> duncan, looks good
Patch committed to SVN head.
+
+------- Additional Comments From duncan@ximian.com 2005-01-06 21:06 -------
+Turns out this patch introduced a regression. It caused this to fail:
+
+ /* foo */
+ #define FOO
+
+and triggers Error CS1032 ("Cannot define/undefine preprocessor
+symbols after first token in file")
+
+Comments are considered tokens in the context of the single line; but
+they should not be considered after a newline has been read.