diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-22 15:02:09 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-22 15:02:09 +0000 |
commit | 6d3c1cd9728981919f2ff1bc1f48b2bbbcbc5224 (patch) | |
tree | 5a0f4416ba510a66cd7c3ab6604fa1a7c21ab80e /src/helper | |
parent | 2b43391851c9c61fed5ee5eacf2fd96347270ab4 (diff) | |
download | openocd+libswd-6d3c1cd9728981919f2ff1bc1f48b2bbbcbc5224.tar.gz openocd+libswd-6d3c1cd9728981919f2ff1bc1f48b2bbbcbc5224.tar.bz2 openocd+libswd-6d3c1cd9728981919f2ff1bc1f48b2bbbcbc5224.tar.xz openocd+libswd-6d3c1cd9728981919f2ff1bc1f48b2bbbcbc5224.zip |
httpd wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1268 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/jim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c index 800db234..f4336ae2 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -8695,7 +8695,7 @@ int Jim_EvalObj(Jim_Interp *interp, Jim_Obj *scriptObjPtr) if (cmd->cmdProc) { interp->cmdPrivData = cmd->privData; retcode = cmd->cmdProc(interp, argc, argv); - if (retcode == JIM_ERR_ADDSTACK) { + if ((retcode == JIM_ERR)||(retcode == JIM_ERR_ADDSTACK)) { JimAppendStackTrace(interp, "", script->fileName, token[i-argc*2].linenr); retcode = JIM_ERR; } |