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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat May 14 02:24:22 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 duncan at ximian.com.

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

--- shadow/74939	2005-05-14 02:02:49.000000000 -0400
+++ shadow/74939.tmp.20639	2005-05-14 02:24:22.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 74939
 Product: Mono: Compilers
 Version: 1.1
 OS: unknown
 OS Details: Windows XP SP2; Mono 1.1.7
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: duncan at ximian.com                            
 ReportedBy: kornelpal at hotmail.com               
@@ -89,6 +89,23 @@
 this #endif)
 cont is True
 Compilation failed: 1 error(s), 0 warnings
 
 For some reason, we're calling handle_preprocessing_directive even
 after we're done with them (at line 17)
+
+------- Additional Comments From duncan at ximian.com  2005-05-14 02:24 -------
+This part of is_punct is looking fishy:
+
+	case ')': {
+		if (deambiguate_close_parens == 0)
+			return Token.CLOSE_PARENS;
+
+		--deambiguate_close_parens;
+
+		// Save current position and parse next token.
+		int old = reader.Position;
+		int new_token = token ();
+		reader.Position = old;
+		putback_char = -1;
+
+What's the intention here for saving the position?


More information about the mono-bugs mailing list