[svn] r6507: nemerle/trunk/macros/compiler.n

nazgul svnadmin at nemerle.org
Thu Aug 10 23:12:20 CEST 2006


Log:
Make location stack publicly accessible through Manager

Author: nazgul
Date: Thu Aug 10 23:12:17 2006
New Revision: 6507

Modified:
   nemerle/trunk/macros/compiler.n

Modified: nemerle/trunk/macros/compiler.n
==============================================================================
--- nemerle/trunk/macros/compiler.n	(original)
+++ nemerle/trunk/macros/compiler.n	Thu Aug 10 23:12:17 2006
@@ -36,8 +36,8 @@
   {
     <[
       def pushpop = $l != Location.Default;
-      when (pushpop) Location_stack.push ($l);
-      try { $body } finally { when (pushpop) Location_stack.pop () }
+      when (pushpop) ManagerClass.Instance.LocationStack.Add ($l);
+      try { $body } finally { when (pushpop) ManagerClass.Instance.LocationStack.RemoveLast () }
     ]>
   }
 



More information about the svn mailing list