diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-01 21:05:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-01 21:05:25 (GMT) |
commit | 921a0bbbfb177411e3fe27f4c4654909fd599859 (patch) | |
tree | f10affcc12787513eab5ade51bdaf65c4e4c2f32 /generic/tclLiteral.c | |
parent | 5a0260cbcca3fe75e95b352ccd9df4d82cc6a1ae (diff) | |
download | tcl-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.c | 2 |
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 */ |