diff libinterp/corefcn/debug.cc @ 21562:6c2fd62db1f7

maint: Eliminate accidental double spaces in code. * make_int.cc, file-editor-tab.h, file-editor.cc, shortcut-manager.h, __contourc__.cc, cellfun.cc, debug.cc, errwarn.h, graphics.in.h, jit-ir.h, oct-stream.cc, quadcc.cc, qz.cc, sparse-xdiv.cc, symtab.cc, __init_fltk__.cc, ov-class.cc, ov-float.h, ov-scalar.h, op-int.h, CNDArray.cc, CSparse.cc, MSparse.cc, Sparse.cc, boolNDArray.cc, chNDArray.cc, dNDArray.cc, dSparse.cc, fCNDArray.cc, fNDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc, randgamma.h, randmtzig.h, randpoisson.c, randpoisson.h, Sparse-op-defs.h, oct-time.cc, kpse.cc, lo-array-errwarn.h, lo-ieee.h, del2.m, num2str.m, __isequal__.m, lookfor.m, hsv2rgb.m, colorspace_conversion_revert.m, fminbnd.m, create_pkgadddel.m, shading.m, struct2hdl.m, gallery.m, discrete_cdf.m, kolmogorov_smirnov_test.m, assert.m, datestr.m, classes.tst, jit.tst: Eliminate accidental double spaces in code.
author Rik <rik@octave.org>
date Wed, 30 Mar 2016 15:19:12 -0700
parents ad0599a0acc6
children 3d60ed163b70
line wrap: on
line diff
--- a/libinterp/corefcn/debug.cc	Tue Mar 29 21:13:22 2016 -0700
+++ b/libinterp/corefcn/debug.cc	Wed Mar 30 15:19:12 2016 -0700
@@ -71,7 +71,7 @@
 std::set<std::string> bp_table::caught_that_stop;
 std::set<std::string> bp_table::warnings_that_stop;
 
-// Read entire file called  fname  and return the contents as a string
+// Read entire file called fname and return the contents as a string
 static std::string
 snarf_file (const std::string& fname)
 {
@@ -208,10 +208,10 @@
 
 // Parse parameters (args) of dbstop and dbclear commands.
 // For dbstop, who=="dbstop"; for dbclear, who=="dbclear".
-// The syntax is  dbstop [[in] symbol] [[at] line [line [...]]] [if condition]
+// The syntax is: dbstop [[in] symbol] [[at] line [line [...]]] [if condition]
 // where the form of condition depends on whether or not a file or line has
 // been seen.
-// Also execute "if [error|warning|interrupt|naninf]" clauses
+// Also execute "if [error|warning|interrupt|naninf]" clauses.
 void
 parse_dbfunction_params (const char *who, const octave_value_list& args,
                          std::string& symbol_name, bp_table::intmap& lines,
@@ -437,8 +437,8 @@
 %! assert (s.errs, {"Octave:undefined-function"});
 */
 
-// Return  true  if there is a valid breakpoint table, false otherwise.
-// If not table exists, one is created; false is only returned if this fails
+// Return true if there is a valid breakpoint table, false otherwise.
+// If no table exists, one is created; false is only returned if this fails.
 bool
 bp_table::instance_ok (void)
 {
@@ -556,7 +556,7 @@
 
 
 // Insert a breakpoint in function fcn at line within file fname,
-// to stop only when  condition is true.
+// to stop only when condition is true.
 // Record in bp_set that fname contains a breakpoint.
 bool
 bp_table::do_add_breakpoint_1 (octave_user_code *fcn,
@@ -596,7 +596,7 @@
   return found;
 }
 
-// Cursory check that  cond  is a valid condition to use for a breakpoint
+// Cursory check that cond is a valid condition to use for a breakpoint.
 // Currently allows conditions with side-effects, like 'y+=10' and 'y++';
 // it is odd that the former is not flagged by "is_assignment_expression".
 // Throws an exception if not valid.
@@ -635,9 +635,9 @@
   return true;
 }
 
-// Given file name  fname,  find the subfunction at line  line  and create
+// Given file name fname, find the subfunction at line and create
 // a breakpoint there.  Put the system into debug_mode.
-// (FIXME: If  line  is multiple lines, what happens if they are in different
+// (FIXME: If line is multiple lines, what happens if they are in different
 //         functions?)
 bp_table::intmap
 bp_table::do_add_breakpoint (const std::string& fname,
@@ -1170,7 +1170,7 @@
 }
 
 // Report the status of "dbstop if error ..." and "dbstop if warning ..."
-// If to_screen is true, the output goes to  octave_stdout; otherwise it is
+// If to_screen is true, the output goes to octave_stdout; otherwise it is
 // returned.
 // If dbstop if error is true but no explicit IDs are specified, the return
 // value will have an empty field called "errs".  If IDs are specified, the