# HG changeset patch # User John W. Eaton # Date 1207072227 14400 # Node ID db02cc0ba8f283599173c5e3575fdfa3ffb81763 # Parent 6c0f7bcf5b557042f3c12750e36da120f0424135 handle breakpoints in tree_identifier::do_lookup diff -r 6c0f7bcf5b55 -r db02cc0ba8f2 src/ChangeLog --- a/src/ChangeLog Mon Mar 31 22:12:01 2008 -0400 +++ b/src/ChangeLog Tue Apr 01 13:50:27 2008 -0400 @@ -1,3 +1,9 @@ +2008-04-01 John W. Eaton + + * pt-id.h (do_lookup (bool&, bool)): Delete. + (do_lookup (tree_argument_list *, const string_vector&, + octave_value_list&, bool&)): Call MAYBE_DO_BREAKPOINT here. + 2008-03-28 Jaroslav Hajek * DLD-FUNCTIONS/lookup.cc: New file. diff -r 6c0f7bcf5b55 -r db02cc0ba8f2 src/pt-id.h --- a/src/pt-id.h Mon Mar 31 22:12:01 2008 -0400 +++ b/src/pt-id.h Tue Apr 01 13:50:27 2008 -0400 @@ -33,6 +33,7 @@ class tree_walker; +#include "pt-bp.h" #include "pt-exp.h" #include "symtab.h" @@ -79,18 +80,11 @@ // then .mex files, then .m files. octave_value - do_lookup (bool& script_file_executed, bool exec_script = true) - { - // FIXME -- SYMTAB: what about executing script files? - octave_value_list evaluated_args; - bool args_evaluated; - return sym.find (0, string_vector (), evaluated_args, args_evaluated); - } - - octave_value do_lookup (tree_argument_list *args, const string_vector& arg_names, octave_value_list& evaluated_args, bool& args_evaluated) { + MAYBE_DO_BREAKPOINT; + return sym.find (args, arg_names, evaluated_args, args_evaluated); }