summaryrefslogtreecommitdiffstats
path: root/generic/tclCompExpr.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-06-25 15:01:03 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-06-25 15:01:03 (GMT)
commitedc81d994ec2f31a92dec97ec8dd28d5de990c93 (patch)
tree3e4e1005ba4df21e73d40da3dd105c8ec8d07384 /generic/tclCompExpr.c
parent3e06ad2586a8f9d60a4702992e166e9838b436a1 (diff)
downloadtcl-edc81d994ec2f31a92dec97ec8dd28d5de990c93.zip
tcl-edc81d994ec2f31a92dec97ec8dd28d5de990c93.tar.gz
tcl-edc81d994ec2f31a92dec97ec8dd28d5de990c93.tar.bz2
Make more use of the CompileTokens() macro.
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r--generic/tclCompExpr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c
index efdc2b0..2a48117 100644
--- a/generic/tclCompExpr.c
+++ b/generic/tclCompExpr.c
@@ -2486,8 +2486,7 @@ CompileExprTree(
break;
}
case OT_TOKENS:
- TclCompileTokens(interp, tokenPtr+1, tokenPtr->numComponents,
- envPtr);
+ CompileTokens(envPtr, tokenPtr, interp);
tokenPtr += tokenPtr->numComponents + 1;
break;
default: