summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsGR.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-07-15 17:07:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-07-15 17:07:51 (GMT)
commita398b126a43e46efa6d6044b0bcf57a4b9385c4e (patch)
tree90b87619753141befd59aa2e3dc83c3448bc85ce /generic/tclCompCmdsGR.c
parent5e4c2308ce99d3d1349d0defd0585b05cd11e3fe (diff)
downloadtcl-a398b126a43e46efa6d6044b0bcf57a4b9385c4e.zip
tcl-a398b126a43e46efa6d6044b0bcf57a4b9385c4e.tar.gz
tcl-a398b126a43e46efa6d6044b0bcf57a4b9385c4e.tar.bz2
Prefer CompileWord() over CompileTokens() when possible.
Diffstat (limited to 'generic/tclCompCmdsGR.c')
-rw-r--r--generic/tclCompCmdsGR.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c
index 0572cd3..2c71dc5 100644
--- a/generic/tclCompCmdsGR.c
+++ b/generic/tclCompCmdsGR.c
@@ -699,8 +699,7 @@ TclCompileInfoLevelCmd(
* list of arguments.
*/
- SetLineInformation(1);
- CompileTokens(envPtr, TokenAfter(parsePtr->tokenPtr), interp);
+ CompileWord(envPtr, TokenAfter(parsePtr->tokenPtr), interp, 1);
TclEmitOpcode( INST_INFO_LEVEL_ARGS, envPtr);
}
return TCL_OK;