[svn] r6582: nemerle/trunk/ncc/parsing/AST.n
malekith
svnadmin at nemerle.org
Sun Aug 27 13:50:24 CEST 2006
Log:
Add Modifiers.GetMacroAttributes() to overcome problems with macro attributes disappearing from GetCustomAttributes().
Author: malekith
Date: Sun Aug 27 13:50:22 2006
New Revision: 6582
Modified:
nemerle/trunk/ncc/parsing/AST.n
Modified: nemerle/trunk/ncc/parsing/AST.n
==============================================================================
--- nemerle/trunk/ncc/parsing/AST.n (original)
+++ nemerle/trunk/ncc/parsing/AST.n Sun Aug 27 13:50:22 2006
@@ -283,6 +283,11 @@
custom_attrs
}
+ public GetMacroAttributes () : list [Parsetree.PExpr]
+ {
+ macro_attrs.Map (Pair.Second)
+ }
+
public AddCustomAttribute (expr : Parsetree.PExpr) : void
{
custom_attrs = expr :: custom_attrs;
More information about the svn
mailing list