Re: [Mono-list] mcs precise location patch is now in svn.

2005-08-04 Thread Atsushi Eno
Hi,

> using mcs r47994,
> if the column is > 255, it starts counting from 0 again
> 
> if you compile the attached file 'Test3.cs', you get the message
> Test3.cs(6,13): warning CS0168: The variable `a' is declared but never used
> while the location should be (6,255+)
> 
> it only shows '255+' when there is an error/warning at column 255

Oh, true... so I fixed this bug in svn (r48002).

BTW, yes, it is a limitation of location reporting that the maximum
precise column number is 255 (to save memory consumption).

Thanks,
Atsushi Eno
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mcs precise location patch is now in svn.

2005-08-04 Thread Atsushi Eno
Hi,

> using mcs r47994,
> if the column is > 255, it starts counting from 0 again
> 
> if you compile the attached file 'Test3.cs', you get the message
> Test3.cs(6,13): warning CS0168: The variable `a' is declared but never used
> while the location should be (6,255+)
> 
> it only shows '255+' when there is an error/warning at column 255

Oh, true... so I fixed this bug in svn (r48002).

Thanks,
Atsushi Eno
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mcs precise location patch is now in svn.

2005-08-04 Thread Ben Motmans
On 8/2/05, Atsushi Eno <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> My precise location patch for mcs (to report line/column, where it
> used to report incorrect locations) is now checked in svn.
> 
> If any of you found such case that mcs does not report error location,
> please file a bug and/or report it here, with an example.
> 
> Thanks,
> Atsushi Eno

using mcs r47994,
if the column is > 255, it starts counting from 0 again

if you compile the attached file 'Test3.cs', you get the message
Test3.cs(6,13): warning CS0168: The variable `a' is declared but never used
while the location should be (6,255+)

it only shows '255+' when there is an error/warning at column 255

-- Ben
using System;

public class Test3 {
	public static void Main (string[] args)
	{
		int reaylngvaarnaaameethatexcedescolummmntwohundredfiftyfive; int a;
	}
}
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mcs precise location patch is now in svn.

2005-08-02 Thread Atsushi Eno
Hello,

My precise location patch for mcs (to report line/column, where it
used to report incorrect locations) is now checked in svn.

If any of you found such case that mcs does not report error location,
please file a bug and/or report it here, with an example.

Thanks,
Atsushi Eno
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list