Mercurial > hg > octave-lyh
diff src/input.cc @ 3805:44386b0e53da
[project @ 2001-03-01 16:54:31 by jwe]
author | jwe |
---|---|
date | Thu, 01 Mar 2001 16:54:33 +0000 |
parents | 4073be5aefa1 |
children | 55648fc616c8 |
line wrap: on
line diff
--- a/src/input.cc +++ b/src/input.cc @@ -60,6 +60,7 @@ #include "pathlen.h" #include "pt.h" #include "pt-const.h" +#include "pt-stmt.h" #include "sighandlers.h" #include "symtab.h" #include "sysdep.h" @@ -553,6 +554,21 @@ else if (match_sans_spaces ("dbg_step", input_buf)) { tree::break_next = true; + + tree::last_line = 0; + + tree::break_function = curr_function; + + return retval; + } + else if (match_sans_spaces ("dbg_next", input_buf)) + { + tree::break_next = true; + + tree::last_line = curr_statement->line (); + + tree::break_function = curr_function; + return retval; } }