[svn] r6917: nemerle/trunk: macros/Util.n ncc/parsing/Lexer.n

IT svnadmin at nemerle.org
Thu Nov 16 23:08:28 CET 2006


Log:
Added DebuggerStepThroughAttribute to the Accessor macro, but looks like it's ignored.

Author: IT
Date: Thu Nov 16 23:08:26 2006
New Revision: 6917

Modified:
   nemerle/trunk/macros/Util.n
   nemerle/trunk/ncc/parsing/Lexer.n

Modified: nemerle/trunk/macros/Util.n
==============================================================================
--- nemerle/trunk/macros/Util.n	(original)
+++ nemerle/trunk/macros/Util.n	Thu Nov 16 23:08:26 2006
@@ -126,7 +126,9 @@
         <[ decl:
           public $(name : dyn) : $(storage_field.ty)
           {
+            [System.Diagnostics.DebuggerStepThroughAttribute]
             set { $fieldref = value; }
+            [System.Diagnostics.DebuggerStepThroughAttribute]
             get { $fieldref }
           }
         ]>
@@ -134,6 +136,7 @@
         <[ decl:
           public $(name : dyn) : $(storage_field.ty)
           {
+            [System.Diagnostics.DebuggerStepThroughAttribute]
             get { $fieldref }
           }
         ]>;

Modified: nemerle/trunk/ncc/parsing/Lexer.n
==============================================================================
--- nemerle/trunk/ncc/parsing/Lexer.n	(original)
+++ nemerle/trunk/ncc/parsing/Lexer.n	Thu Nov 16 23:08:26 2006
@@ -1099,7 +1099,7 @@
         def last_col = col;
         def tok = do_get_token ();
 
-        // IT: to make last_line & last_col as class fields could be a better solution.
+        // IT: making last_line & last_col as class fields could be a better solution.
         if (tok.Location.FileIndex == 0)
           tok.Location = Location (file_idx, last_line, last_col, line, col);
         else



More information about the svn mailing list