diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-04-17 14:39:19 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-04-17 17:36:50 +1000 |
commit | f35906bf66173de97f1f0febab9c996a273e260b (patch) | |
tree | ce79d61e11b98cb699e4f21ca7152435c80b8480 /jimregexp.h | |
parent | 30f1b1ce7a3755db94c31c77f6e013d84ab36a55 (diff) | |
download | jimtcl-f35906bf66173de97f1f0febab9c996a273e260b.zip jimtcl-f35906bf66173de97f1f0febab9c996a273e260b.tar.gz jimtcl-f35906bf66173de97f1f0febab9c996a273e260b.tar.bz2 |
local, rename: don't allow renaming a local proc with upcall
If an existing command was replaced when using local proc ...,
then renaming the command will break upcall from within the proc
because the command no longer exists in the namespace. To prevent
this case, disallow rename of such a command.
It is still OK to delete with rename <cmd> ""
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jimregexp.h')
0 files changed, 0 insertions, 0 deletions