summaryrefslogtreecommitdiffstats
path: root/generic/tclLiteral.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-01 21:05:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-01 21:05:25 (GMT)
commit921a0bbbfb177411e3fe27f4c4654909fd599859 (patch)
treef10affcc12787513eab5ade51bdaf65c4e4c2f32 /generic/tclLiteral.c
parent5a0260cbcca3fe75e95b352ccd9df4d82cc6a1ae (diff)
downloadtcl-921a0bbbfb177411e3fe27f4c4654909fd599859.zip
tcl-921a0bbbfb177411e3fe27f4c4654909fd599859.tar.gz
tcl-921a0bbbfb177411e3fe27f4c4654909fd599859.tar.bz2
More use of TclHasIntRep() macro. Add vfs build director to fossil ignore-glob
Diffstat (limited to 'generic/tclLiteral.c')
-rw-r--r--generic/tclLiteral.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclLiteral.c b/generic/tclLiteral.c
index 6df26bd..464f565 100644
--- a/generic/tclLiteral.c
+++ b/generic/tclLiteral.c
@@ -1057,7 +1057,7 @@ TclInvalidateCmdLiteral(
strlen(name), -1, NULL, nsPtr, 0, NULL);
if (literalObjPtr != NULL) {
- if (literalObjPtr->typePtr == &tclCmdNameType) {
+ if (TclHasIntRep(literalObjPtr, &tclCmdNameType)) {
TclFreeIntRep(literalObjPtr);
}
/* Balance the refcount effects of TclCreateLiteral() above */