comparison src/oct-parse.yy @ 10443:34e51d4e199b

implement smart warnings about missing Matlab functionality
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 24 Mar 2010 12:56:18 +0100
parents 4db7beace28e
children 12d25a1d84bf
comparison
equal deleted inserted replaced
10442:3011d1765a6e 10443:34e51d4e199b
4032 octave_value fcn = symbol_table::find_function (name, args); 4032 octave_value fcn = symbol_table::find_function (name, args);
4033 4033
4034 if (fcn.is_defined ()) 4034 if (fcn.is_defined ())
4035 retval = fcn.do_multi_index_op (nargout, args); 4035 retval = fcn.do_multi_index_op (nargout, args);
4036 else 4036 else
4037 error ("feval: function `%s' not found", name.c_str ()); 4037 {
4038 maybe_missing_function_hook (name);
4039 if (! error_state)
4040 error ("feval: function `%s' not found", name.c_str ());
4041 }
4038 4042
4039 return retval; 4043 return retval;
4040 } 4044 }
4041 4045
4042 octave_value_list 4046 octave_value_list