aboutsummaryrefslogtreecommitdiff
path: root/jim.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-01-24 10:45:13 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:39 +1000
commitfe81bfe03290dac465c71cd6854d3acc93b4518c (patch)
tree7968e938b99998807cacc717d97fbbcbdde0233f /jim.h
parentc52b491011be94e796ce8c28a16249ca62256084 (diff)
downloadjimtcl-fe81bfe03290dac465c71cd6854d3acc93b4518c.zip
jimtcl-fe81bfe03290dac465c71cd6854d3acc93b4518c.tar.gz
jimtcl-fe81bfe03290dac465c71cd6854d3acc93b4518c.tar.bz2
Bugs and tests
jimsh argv0 was wrong *: Should be the name of the script when run non-interactively Missed adding jim.h changes for errorProc Add lsort -command tests to jim/tests Handle the case of a script with no tokens ------------------------------------------------------------------------
Diffstat (limited to 'jim.h')
-rw-r--r--jim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/jim.h b/jim.h
index ecfb9ac..2ef069c 100644
--- a/jim.h
+++ b/jim.h
@@ -515,6 +515,7 @@ typedef struct Jim_Interp {
time_t lastCollectTime; /* unix time of the last GC execution */
struct Jim_HashTable sharedStrings; /* Shared Strings hash table */
Jim_Obj *stackTrace; /* Stack trace object. */
+ Jim_Obj *errorProc; /* Name of last procedure which returned an error */
Jim_Obj *unknown; /* Unknown command cache */
int unknown_called; /* The unknown command has been invoked */
int errorFlag; /* Set if an error occurred during execution. */