[Mono-bugs] [Bug 22567] Changed - #line preprocessor elements sets line counter to incorrect value

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
28 Mar 2002 02:38:03 -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 miguel@ximian.com.

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

--- shadow/22567	Tue Mar 26 16:30:10 2002
+++ shadow/22567.tmp.25915	Wed Mar 27 21:38:03 2002
@@ -1,13 +1,13 @@
 Bug#: 22567
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: SuSE Linux 7.1
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: duco@lorentz.xs4all.nl               
 QAContact: mono-bugs@ximian.com
@@ -40,6 +40,16 @@
 
 Expected Results:
 A syntax error line 101 (as csc reports)
 
 How often does this happen? 
 Always
+
+------- Additional Comments From miguel@ximian.com  2002-03-27 21:38 -------
+This is actually not a bug in the pre-processor, but in the fact that
+the Location being reported for the method (Main) is the last one, not
+the one where it is declared.  
+
+There are many of these in the compiler (I used to get the Location
+only at the end, and I should have done it in the middle).
+
+Checking a bug fix in a second.