[Mono-bugs] [Bug 74939][Nor] Changed - CS1028 when there is an #if for the #endif

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 9 04:20:44 EDT 2005


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 martin at ximian.com.

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

--- shadow/74939	2005-06-08 18:33:53.000000000 -0400
+++ shadow/74939.tmp.11449	2005-06-09 04:20:44.000000000 -0400
@@ -120,6 +120,25 @@
 Are there any news about this bug?
 
 ------- Additional Comments From duncan at ximian.com  2005-06-08 18:33 -------
 Created an attachment (id=15285)
 Possible fix
 
+
+------- Additional Comments From martin at ximian.com  2005-06-09 04:20 -------
+At this place:
+
+====
+ 				int old = reader.Position;
++
++				// disable preprocessing directives when peeking
++				process_directives = false;
+ 				int new_token = token ();
++				process_directives = true;
+ 				reader.Position = old;
+ 				putback_char = -1;
+====
+
+I'd prefer saving the old value of `process_directives' and putting
+that back - or can this never happen ?
+
+Other than that, looks fine - I assume it passes a bootstrap-world ?


More information about the mono-bugs mailing list