summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsSZ.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-07-11 04:00:57 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-07-11 04:00:57 (GMT)
commitac62d0c4970dfe3fa03f4fa77c05d23943a20671 (patch)
treedd314bf04dc89630af6697fd178f26dde3d2cad7 /generic/tclCompCmdsSZ.c
parentf3a1a26516d79b15224325941f72deb7dfda25f6 (diff)
downloadtcl-ac62d0c4970dfe3fa03f4fa77c05d23943a20671.zip
tcl-ac62d0c4970dfe3fa03f4fa77c05d23943a20671.tar.gz
tcl-ac62d0c4970dfe3fa03f4fa77c05d23943a20671.tar.bz2
Revert the revised macros used in developing the new tests.tip280_test_coverage
Diffstat (limited to 'generic/tclCompCmdsSZ.c')
-rw-r--r--generic/tclCompCmdsSZ.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclCompCmdsSZ.c b/generic/tclCompCmdsSZ.c
index d5208e6..0497e8a 100644
--- a/generic/tclCompCmdsSZ.c
+++ b/generic/tclCompCmdsSZ.c
@@ -86,7 +86,7 @@ const AuxDataType tclJumptableInfoType = {
#define OP44(name,val1,val2) \
TclEmitInstInt4(INST_##name,(val1),envPtr);TclEmitInt4((val2),envPtr)
#define BODY(token,index) \
- LineInformation((index));CompileBody(envPtr,(token),interp)
+ SetLineInformation((index));CompileBody(envPtr,(token),interp)
#define PUSH(str) \
PushStringLiteral(envPtr, str)
#define JUMP4(name,var) \
@@ -433,7 +433,7 @@ TclCompileStringMatchCmd(
}
PushLiteral(envPtr, str, length);
} else {
- LineInformation(i+1+nocase);
+ SetLineInformation(i+1+nocase);
CompileTokens(envPtr, tokenPtr, interp);
}
tokenPtr = TokenAfter(tokenPtr);
@@ -483,7 +483,7 @@ TclCompileStringLenCmd(
len = sprintf(buf, "%d", len);
PushLiteral(envPtr, buf, len);
} else {
- LineInformation(1);
+ SetLineInformation(1);
CompileTokens(envPtr, tokenPtr, interp);
TclEmitOpcode(INST_STR_LEN, envPtr);
}
@@ -722,7 +722,7 @@ TclCompileSubstCmd(
return TCL_ERROR;
}
- LineInformation(numArgs);
+ SetLineInformation(numArgs);
TclSubstCompile(interp, wordTokenPtr[1].start, wordTokenPtr[1].size,
flags, mapPtr->loc[eclIndex].line[numArgs], envPtr);
@@ -1284,7 +1284,7 @@ TclCompileSwitchCmd(
*/
/* Both methods push the value to match against onto the stack. */
- LineInformation(valueIndex);
+ SetLineInformation(valueIndex);
CompileTokens(envPtr, valueTokenPtr, interp);
if (mode == Switch_Exact) {
@@ -3026,7 +3026,7 @@ TclCompileWhileCmd(
bodyCodeOffset += 3;
testCodeOffset += 3;
}
- LineInformation(1);
+ SetLineInformation(1);
TclCompileExprWords(interp, testTokenPtr, 1, envPtr);
jumpDist = CurrentOffset(envPtr) - bodyCodeOffset;