Mercurial > hg > octave-lyh
changeset 16367:66330c7f6990
/home/jwe/foo.cl
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 25 Mar 2013 18:54:11 -0400 |
parents | 6964e6b92fc1 |
children | 29e03b0e7e8d |
files | libinterp/parse-tree/pt-bp.cc |
diffstat | 1 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-bp.cc +++ b/libinterp/parse-tree/pt-bp.cc @@ -214,16 +214,10 @@ void tree_breakpoint::visit_if_command (tree_if_command& cmd) { - if (cmd.line () >= line) - take_action (cmd); + tree_if_command_list *lst = cmd.cmd_list (); - if (! found) - { - tree_if_command_list *lst = cmd.cmd_list (); - - if (lst) - lst->accept (*this); - } + if (lst) + lst->accept (*this); } void