diff options
author | Mason Jones <20848827+smj-edison@users.noreply.github.com> | 2025-04-21 20:47:24 -0700 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2025-04-22 04:37:43 +0000 |
commit | 9eaf6be68bade1f74302b78cd8c2f68fddf20442 (patch) | |
tree | 0423426312f6c9372058e1eb697c0b43bf82c18c /examples/redis.tcl | |
parent | e0671d7c5396f6a5569792013e7e71121f42ce89 (diff) | |
download | jimtcl-9eaf6be68bade1f74302b78cd8c2f68fddf20442.zip jimtcl-9eaf6be68bade1f74302b78cd8c2f68fddf20442.tar.gz jimtcl-9eaf6be68bade1f74302b78cd8c2f68fddf20442.tar.bz2 |
Fix abort on boolean negation/plus unary operators
Currently jimtcl will abort if there is any unary operator besides ! in
front of a boolean. It is possible to construct an expression with -
or + before a boolean literal (e.g. expr {-true}) that currently aborts,
but should return an error. I implemented this error handling with
tcl's error message for this situation.
Diffstat (limited to 'examples/redis.tcl')
0 files changed, 0 insertions, 0 deletions