Mercurial > octave
comparison libinterp/corefcn/debug.cc @ 21118:3ac9f47fb04b
Invert pattern if/code/else/err_XXX to if !/err_XXX/code.
* daspk.cc, dasrt.cc, dassl.cc, data.cc, debug.cc, load-save.cc, lsode.cc,
quad.cc, xnorm.cc, xpow.cc, ov-base-diag.cc, ov-base-mat.cc, ov-base-scalar.cc,
ov-base.cc, ov-bool-mat.cc, ov-bool-sparse.cc, ov-cell.cc, ov-ch-mat.cc,
ov-class.cc, ov-cx-mat.cc, ov-cx-sparse.cc, ov-float.cc, ov-flt-cx-mat.cc,
ov-flt-re-mat.cc, ov-intx.h, ov-perm.cc, ov-range.cc, ov-re-mat.cc,
ov-re-sparse.cc, ov-scalar.cc, ov-struct.cc, ov.cc, pt-idx.cc, Array-util.cc,
Array.cc, Sparse.cc, lo-specfun.cc, mx-inlines.cc, oct-binmap.h:
Invert pattern if/code/else/err_XXX to if !/err_XXX/code.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 Jan 2016 16:08:30 -0800 |
parents | e39e05d90788 |
children | df7891224709 |
comparison
equal
deleted
inserted
replaced
21117:c1df36373272 | 21118:3ac9f47fb04b |
---|---|
721 bp_table::fname_line_map bp_list; | 721 bp_table::fname_line_map bp_list; |
722 std::string symbol_name; | 722 std::string symbol_name; |
723 | 723 |
724 if (nargin == 1) | 724 if (nargin == 1) |
725 { | 725 { |
726 if (args(0).is_string ()) | 726 if (! args(0).is_string ()) |
727 { | |
728 symbol_name = args(0).string_value (); | |
729 fcn_list(0) = symbol_name; | |
730 bp_list = bp_table::get_breakpoint_list (fcn_list); | |
731 } | |
732 else | |
733 err_wrong_type_arg ("dbstatus", args(0)); | 727 err_wrong_type_arg ("dbstatus", args(0)); |
728 | |
729 symbol_name = args(0).string_value (); | |
730 fcn_list(0) = symbol_name; | |
731 bp_list = bp_table::get_breakpoint_list (fcn_list); | |
734 } | 732 } |
735 else | 733 else |
736 { | 734 { |
737 if (Vdebugging) | 735 if (Vdebugging) |
738 { | 736 { |