# HG changeset patch # User Lachlan Andrew # Date 1453167066 -39600 # Node ID 4aa8e4b868c91b08f1598a978bca20435125abbc # Parent 65827e9cccb87e602491d97bfa425214edc93285 Handle interrupt thrown by dbquit (bug #46931) * oct-parse.in.yy (run): rethrow octave_interrupt_exception diff -r 65827e9cccb8 -r 4aa8e4b868c9 libinterp/parse-tree/oct-parse.in.yy --- a/libinterp/parse-tree/oct-parse.in.yy Sat Jan 30 10:13:34 2016 +1100 +++ b/libinterp/parse-tree/oct-parse.in.yy Tue Jan 19 12:31:06 2016 +1100 @@ -4032,6 +4032,10 @@ else error (e, "parse error in %s", file.c_str ()); } + catch (octave_interrupt_exception &) + { + throw; + } catch (...) { std::string file = lexer.fcn_file_full_name; @@ -4088,6 +4092,10 @@ else error (e, "parse error in %s", file.c_str ()); } + catch (octave_interrupt_exception &) + { + throw; + } catch (...) { std::string file = lexer.fcn_file_full_name;