diff libinterp/parse-tree/pt-bp.h @ 16644:856cb7cba231 classdef

maint: periodic merge of default to classdef
author John W. Eaton <jwe@octave.org>
date Sun, 12 May 2013 21:45:57 -0400
parents 947cf10c94da 645672f1c873
children 93b3d03b05e7
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-bp.h	Mon Apr 29 19:13:40 2013 -0400
+++ b/libinterp/parse-tree/pt-bp.h	Sun May 12 21:45:57 2013 -0400
@@ -136,7 +136,7 @@
 
   octave_value_list get_list (void) { return bp_list; }
 
-  int get_line (void) { return line; }
+  int get_line (void) { return found ? line : 0; }
 
  private: