diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-01-24 10:45:13 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 11:02:39 +1000 |
commit | fe81bfe03290dac465c71cd6854d3acc93b4518c (patch) | |
tree | 7968e938b99998807cacc717d97fbbcbdde0233f /jim.h | |
parent | c52b491011be94e796ce8c28a16249ca62256084 (diff) | |
download | jimtcl-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. */ |