[nem-en] Re: [svn] r6497: nemerle/trunk/ncc:
hierarchy/TypeBuilder.n typing/Typer.n
Kamil Skalski
kamil.skalski at gmail.com
Wed Aug 9 12:20:03 CEST 2006
> + def loc = Location_stack.top ();
> + def loc = Location (loc.FileIndex, loc.Line, loc.Column, loc.Line, loc.Column);
Am I thinking correctly, that this is done to "cut" location just to
its beginning? Maybe we should create method loc.CopyBeginning() ,
which would return the cut location?
> + Location_stack.push(loc);
It's better to use macro Util.locate:
def ctor =
Util.locate (newloc, <[ decl: public this () { } ]>);
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list