Mercurial > jwe > octave
diff libinterp/parse-tree/oct-parse.in.yy @ 21159:4aa8e4b868c9
Handle interrupt thrown by dbquit (bug #46931)
* oct-parse.in.yy (run): rethrow octave_interrupt_exception
author | Lachlan Andrew <lachlanbis@gmail.com> |
---|---|
date | Tue, 19 Jan 2016 12:31:06 +1100 |
parents | 538b57866b90 |
children | 3d375b0905a0 |
line wrap: on
line diff
--- 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;