Mercurial > hg > octave-lyh
diff src/pt.h @ 8843:b9ce57a309a3
don't store breakpoint info in tree_statement object
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 23 Feb 2009 12:44:57 -0500 |
parents | 73c4516fae10 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/src/pt.h +++ b/src/pt.h @@ -47,9 +47,13 @@ virtual int column (void) const { return column_num; } - void set_breakpoint (void) { bp = true; } + void line (int l) { line_num = l; } + + void column (int c) { column_num = c; } - void delete_breakpoint (void) { bp = false; } + virtual void set_breakpoint (void) { bp = true; } + + virtual void delete_breakpoint (void) { bp = false; } bool is_breakpoint (void) const { return bp; }