Permalink
Browse files

Reduce noise from RX_TRACE slightly

  • Loading branch information...
1 parent f54d02c commit c146c95a863f63f0ff90f3a55850935725c299c1 @sorear committed May 27, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/Cursor.cs
View
@@ -724,8 +724,10 @@ public sealed class RxFrame: IFreeze {
}
}
if (Cursor.Trace)
- Console.WriteLine("Matching {0} from {1} to {2} (really {3}-{4})",
- name, use_from, use_to, from, st.pos);
+ Console.WriteLine((use_from == from && use_to == st.pos) ?
+ "Matching {0} from {1} to {2}" :
+ "Matching {0} from {1} to {2} (really {3}-{4})",
+ name, use_from, use_to, from, st.pos);
_matchObj = new Cursor(global, st.ns.klass, use_from, use_to,
st.captures, ast, name);
return global.CallAction(th, name, _matchObj);

0 comments on commit c146c95

Please sign in to comment.