changeset 27185:04889e45f54e

maint: Merge stable to default.
author John W. Eaton <jwe@octave.org>
date Fri, 14 Jun 2019 11:14:01 -0500
parents 2d9decd77e58 (current diff) f7bf27159cf7 (diff)
children b15b71bcd679
files libinterp/parse-tree/bp-table.cc
diffstat 1 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/bp-table.cc	Thu Jun 13 17:40:36 2019 -0500
+++ b/libinterp/parse-tree/bp-table.cc	Fri Jun 14 11:14:01 2019 -0500
@@ -467,21 +467,21 @@
       }
   }
 
-  /*
-    %!test
-    %! dbclear all;   # Clear out breakpoints before test
-    %! dbstop help;
-    %! dbstop in ls;
-    %! dbstop help at 100;
-    %! dbstop in ls 100;
-    %! dbstop help 201 if a==5;
-    %! dbstop if error Octave:undefined-function;
-    %! s = dbstatus;
-    %! dbclear all;
-    %! assert ({s.bkpt(:).name}, {"help", "help", "help>do_contents", "ls", "ls"});
-    %! assert ([s.bkpt(:).line], [48, 100, 201, 58, 100]);
-    %! assert (s.errs, {"Octave:undefined-function"});
-  */
+/*
+%!test
+%! dbclear all;   # Clear out breakpoints before test
+%! dbstop help;
+%! dbstop in ls;
+%! dbstop help at 100;
+%! dbstop in ls 100;    ## 100 is a comment; code line is at 103
+%! dbstop help 201 if a==5;
+%! dbstop if error Octave:undefined-function;
+%! s = dbstatus;
+%! dbclear all;
+%! assert ({s.bkpt(:).name}, {"help", "help", "help>do_contents", "ls", "ls"});
+%! assert ([s.bkpt(:).line], [48, 100, 201, 58, 103]);
+%! assert (s.errs, {"Octave:undefined-function"});
+*/
 
   void bp_table::set_stop_flag (const char *who, const std::string& condition,
                                 bool on_off)