[Mono-bugs] [Bug 71070][Wis] New - a define cannot be after a /* */
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 6 Jan 2005 17:33:58 -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 alexmipego@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=71070
--- shadow/71070 2005-01-06 17:33:58.000000000 -0500
+++ shadow/71070.tmp.21784 2005-01-06 17:33:58.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 71070
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: alexmipego@hotmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: a define cannot be after a /* */
+
+// some comments
+#define CACHE
+/* another comment, but multi-line */
+#define CACHE2
+
+In this piece of code, an error is thown because of the second #define.
+Looks like /* */ is recognized as a token.
+
+Tests in MS.NET 1.1 shows that both // and /* */ are allowed before a
+pre-processor directive.
+
+Someone should check the documentation for this before patching.