diff options
author | Steve Bennett <steveb@workware.net.au> | 2009-07-28 17:25:37 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 10:11:02 +1000 |
commit | b08812254a5da3f3d3331b05962d479db2aab314 (patch) | |
tree | 5a84fe7674221046106113c30150490c2826010e /jimsh.c | |
parent | 6461e8bf6ddf82ee974b4c63458915490d74a5ce (diff) | |
download | jimtcl-b08812254a5da3f3d3331b05962d479db2aab314.zip jimtcl-b08812254a5da3f3d3331b05962d479db2aab314.tar.gz jimtcl-b08812254a5da3f3d3331b05962d479db2aab314.tar.bz2 |
Convert package to use jim-subcmd
Also, no need to install tcl extensions
Display any errors from loading static extensions
Diffstat (limited to 'jimsh.c')
-rw-r--r-- | jimsh.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -130,7 +130,9 @@ int main(int argc, char *const argv[]) Jim_RegisterCoreCommands(interp); /* Register static extensions */ - Jim_InitStaticExtensions(interp); + if (Jim_InitStaticExtensions(interp) != JIM_OK) { + Jim_PrintErrorMessage(interp); + } /* Append the path where the executed Jim binary is contained * in the jim_libpath list. */ |