diff options
author | dgp <dgp@users.sourceforge.net> | 2013-07-11 04:00:57 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-07-11 04:00:57 (GMT) |
commit | ac62d0c4970dfe3fa03f4fa77c05d23943a20671 (patch) | |
tree | dd314bf04dc89630af6697fd178f26dde3d2cad7 /generic/tclCompCmdsGR.c | |
parent | f3a1a26516d79b15224325941f72deb7dfda25f6 (diff) | |
download | tcl-tip280_test_coverage.zip tcl-tip280_test_coverage.tar.gz tcl-tip280_test_coverage.tar.bz2 |
Revert the revised macros used in developing the new tests.tip280_test_coverage
Diffstat (limited to 'generic/tclCompCmdsGR.c')
-rw-r--r-- | generic/tclCompCmdsGR.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c index 32514ab..f7c15e6 100644 --- a/generic/tclCompCmdsGR.c +++ b/generic/tclCompCmdsGR.c @@ -222,7 +222,7 @@ TclCompileIfCmd( compileScripts = 0; } } else { - LineInformation(wordIdx); + SetLineInformation(wordIdx); Tcl_ResetResult(interp); TclCompileExprWords(interp, testTokenPtr, 1, envPtr); if (jumpFalseFixupArray.next >= jumpFalseFixupArray.end) { @@ -264,7 +264,7 @@ TclCompileIfCmd( */ if (compileScripts) { - LineInformation(wordIdx); + SetLineInformation(wordIdx); CompileBody(envPtr, tokenPtr, interp); } @@ -345,7 +345,7 @@ TclCompileIfCmd( * Compile the else command body. */ - LineInformation(wordIdx); + SetLineInformation(wordIdx); CompileBody(envPtr, tokenPtr, interp); } @@ -474,7 +474,7 @@ TclCompileIncrCmd( PushLiteral(envPtr, word, numBytes); } } else { - LineInformation(2); + SetLineInformation(2); CompileTokens(envPtr, incrTokenPtr, interp); } } else { /* No incr amount given so use 1. */ @@ -701,7 +701,7 @@ TclCompileInfoLevelCmd( * list of arguments. */ - LineInformation(1); + SetLineInformation(1); CompileTokens(envPtr, TokenAfter(parsePtr->tokenPtr), interp); TclEmitOpcode( INST_INFO_LEVEL_ARGS, envPtr); } |