[svn] r6809: nemerle/trunk/ncc/hierarchy/MacroClassGen.n
nazgul
svnadmin at nemerle.org
Sun Oct 29 22:24:16 CET 2006
Log:
Location member in macros
Author: nazgul
Date: Sun Oct 29 22:24:07 2006
New Revision: 6809
Modified:
nemerle/trunk/ncc/hierarchy/MacroClassGen.n
Modified: nemerle/trunk/ncc/hierarchy/MacroClassGen.n
==============================================================================
--- nemerle/trunk/ncc/hierarchy/MacroClassGen.n (original)
+++ nemerle/trunk/ncc/hierarchy/MacroClassGen.n Sun Oct 29 22:24:07 2006
@@ -511,6 +511,13 @@
keywords = [..$(List.Map (keys, Macros.Lift))];
}
+ public Location : Nemerle.Compiler.Location
+ {
+ get { Location (Location.GetFileIndex ($(decl.Location.File : string)),
+ $(decl.Location.Line : int),
+ $(decl.Location.Column : int)) }
+ }
+
public IsInherited : bool
{
get { my_usage != null && my_usage.Inherited }
More information about the svn
mailing list