diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-02-24 12:59:56 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-02-24 13:02:31 +1000 |
commit | 7eb6fdddafb7ee98afd8dc170a23bfbb32708994 (patch) | |
tree | 9cfdb2dc8baffea9d0c58286b06be4c3c550f62d /jim.h | |
parent | 23603d8c3d482a9f92a949c9da1c71a0c8e68343 (diff) | |
download | jimtcl-7eb6fdddafb7ee98afd8dc170a23bfbb32708994.zip jimtcl-7eb6fdddafb7ee98afd8dc170a23bfbb32708994.tar.gz jimtcl-7eb6fdddafb7ee98afd8dc170a23bfbb32708994.tar.bz2 |
dict with: return script result
Previously dict with returned the new dict value.
Also fix an issue in the case where a dict element
mirrors the name of the dictionary.
Fixes: #241
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim.h')
-rw-r--r-- | jim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -154,6 +154,7 @@ extern "C" { #define JIM_ENUM_ABBREV 2 /* Jim_GetEnum() - Allow unambiguous abbreviation */ #define JIM_UNSHARED 4 /* Jim_GetVariable() - return unshared object */ #define JIM_MUSTEXIST 8 /* Jim_SetDictKeysVector() - fail if non-existent */ +#define JIM_NORESULT 16 /* Jim_SetDictKeysVector() - don't store the result in the interp result */ /* Flags for Jim_SubstObj() */ #define JIM_SUBST_NOVAR 1 /* don't perform variables substitutions */ |