summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorCedric Delamarre <cedric.delamarre@esi-group.com>2021-03-03 10:42:13 +0100
committerCedric Delamarre <cedric.delamarre@esi-group.com>2021-03-03 10:42:13 +0100
commitbe5a3bb926956b0a7ec78d35c25284d3689454bc (patch)
treeaca74e187298c4a790d007b095553a829034ad2b /scilab
parent607535fa99c1c93a0207cbfcf2a06e47ecb73f8e (diff)
downloadscilab-be5a3bb926956b0a7ec78d35c25284d3689454bc.zip
scilab-be5a3bb926956b0a7ec78d35c25284d3689454bc.tar.gz
reset error flag after abort an execution
Change-Id: I197de02ca3059e26ac0cfc07a681f5f32bb520e8
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/ast/src/cpp/ast/debugmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scilab/modules/ast/src/cpp/ast/debugmanager.cpp b/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
index ef5c55c..7180361 100644
--- a/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
+++ b/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
@@ -516,8 +516,10 @@ void DebuggerManager::abort() //abort execution
516 ConfigVariable::DecreasePauseLevel(); 516 ConfigVariable::DecreasePauseLevel();
517 } 517 }
518 518
519 // reset lasterror 519 // reset lasterror information
520 ConfigVariable::clearLastError(); 520 ConfigVariable::clearLastError();
521 // reset error flag
522 ConfigVariable::resetError();
521 // reset callstack 523 // reset callstack
522 clearCallStack(); 524 clearCallStack();
523 525