aboutsummaryrefslogtreecommitdiff
path: root/jimsh.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2009-07-28 17:25:37 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 10:11:02 +1000
commitb08812254a5da3f3d3331b05962d479db2aab314 (patch)
tree5a84fe7674221046106113c30150490c2826010e /jimsh.c
parent6461e8bf6ddf82ee974b4c63458915490d74a5ce (diff)
downloadjimtcl-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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/jimsh.c b/jimsh.c
index 9ce4e7f..eb63706 100644
--- a/jimsh.c
+++ b/jimsh.c
@@ -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. */