Mercurial > hg > octave-nkf
diff libinterp/parse-tree/pt-bp.cc @ 16367:66330c7f6990
/home/jwe/foo.cl
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 25 Mar 2013 18:54:11 -0400 |
parents | 2fc554ffbc28 |
children | 2ed5bc680c71 d63878346099 |
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