# HG changeset patch # User jwe # Date 1101101917 0 # Node ID 7497a16d90f951b40ddc1227ba9be1c26bff7580 # Parent 55f5b61d74b707819496da3cc4de48b42cb8f249 [project @ 2004-11-22 05:38:37 by jwe] diff -r 55f5b61d74b7 -r 7497a16d90f9 src/ChangeLog --- a/src/ChangeLog Fri Nov 19 21:50:50 2004 +0000 +++ b/src/ChangeLog Mon Nov 22 05:38:37 2004 +0000 @@ -1,3 +1,9 @@ +2004-11-22 John W. Eaton + + * pt-arg-list.cc (tree_argument_list::convert_to_const_vector): + Check to see whether object is a function or function handle + instead of constant. + 2004-11-19 John W. Eaton * ov-str-mat.cc (octave_char_matrix_str::do_index_op): diff -r 55f5b61d74b7 -r 7497a16d90f9 src/pt-arg-list.cc --- a/src/pt-arg-list.cc Fri Nov 19 21:50:50 2004 +0000 +++ b/src/pt-arg-list.cc Mon Nov 22 05:38:37 2004 +0000 @@ -174,7 +174,9 @@ // way of asking an octave_value object this question? bool stash_object = (list_includes_magic_end - && object && object->is_constant ()); + && object + && ! (object->is_function () + || object->is_function_handle ())); if (stash_object) {