# HG changeset patch # User John W. Eaton # Date 1444423969 14400 # Node ID 128414587af2645f0e04d8af54972ddea8798796 # Parent 22618d5fb6ad54afa21daa926eda75efe8df4829 don't print additional error message in argument list evaluation * pt-arg-list.cc (tree_argument_list::convert_to_const_vector): Don't call error for for failed argument evaluation. diff --git a/libinterp/parse-tree/pt-arg-list.cc b/libinterp/parse-tree/pt-arg-list.cc --- a/libinterp/parse-tree/pt-arg-list.cc +++ b/libinterp/parse-tree/pt-arg-list.cc @@ -240,21 +240,12 @@ if (elt) { - try - { - octave_value tmp = elt->rvalue1 (); + octave_value tmp = elt->rvalue1 (); - if (tmp.is_cs_list ()) - args.push_back (tmp.list_value ()); - else if (tmp.is_defined ()) - args.push_back (tmp); - } - catch (const octave_execution_exception&) - { - args.clear (); - - error ("evaluating argument list element number %d", k+1); - } + if (tmp.is_cs_list ()) + args.push_back (tmp.list_value ()); + else if (tmp.is_defined ()) + args.push_back (tmp); } else {