diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-12-02 20:54:36 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-12-02 20:56:48 +1000 |
commit | 6757f5c6f30f6630f728fcbd99d7ce4a50135706 (patch) | |
tree | ad47403fc3f50ff18deb26a836223d9b215eaa0e /jim.c | |
parent | 21d7fc318bcda4c718d32dc82e1249e4861cc5f9 (diff) | |
download | jimtcl-6757f5c6f30f6630f728fcbd99d7ce4a50135706.zip jimtcl-6757f5c6f30f6630f728fcbd99d7ce4a50135706.tar.gz jimtcl-6757f5c6f30f6630f728fcbd99d7ce4a50135706.tar.bz2 |
Correct the documentation for 'local'
Also some general documentation cleanups and trailing
white space removal.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim.c')
-rw-r--r-- | jim.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3540,7 +3540,7 @@ static int JimCreateCommand(Jim_Interp *interp, const char *name, Jim_Cmd *cmd) */ Jim_HashEntry *he = Jim_FindHashEntry(&interp->commands, name); if (he) { - /* There was an old cmd with the same name, + /* There was an old cmd with the same name, * so this requires a 'proc epoch' update. */ /* If a procedure with the same name didn't exist there is no need @@ -3813,7 +3813,7 @@ Jim_Cmd *Jim_GetCommand(Jim_Interp *interp, Jim_Obj *objPtr, int flags) { Jim_Cmd *cmd; - if (objPtr->typePtr != &commandObjType || + if (objPtr->typePtr != &commandObjType || objPtr->internalRep.cmdValue.procEpoch != interp->procEpoch) { /* Not cached or out of date, so lookup */ |