Skip to content

Commit

Permalink
Cut an unneeded allocation out of RxFrame::.ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed May 28, 2011
1 parent 6e796b3 commit 23293ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cursor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public RxFrame(string name, Cursor csr, bool passcap, bool passcut) {
rootf = bt = csr.xact;
this.name = name;
st.ns = passcut ? csr.nstate :
new NState(rootf, "RULE " + name, csr.nstate);
new NState(rootf, name, csr.nstate);
if (passcap)
st.captures = csr.captures;
if (Cursor.Trace) {
Expand Down

0 comments on commit 23293ec

Please sign in to comment.