diff options
author | dgp <dgp@users.sourceforge.net> | 2013-07-15 17:07:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-07-15 17:07:51 (GMT) |
commit | a398b126a43e46efa6d6044b0bcf57a4b9385c4e (patch) | |
tree | 90b87619753141befd59aa2e3dc83c3448bc85ce /generic/tclCompCmdsGR.c | |
parent | 5e4c2308ce99d3d1349d0defd0585b05cd11e3fe (diff) | |
download | tcl-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.c | 3 |
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; |