# HG changeset patch # User John W. Eaton # Date 1222974018 14400 # Node ID 7d1a8ad7d841c65f47cd0b7a7ce051f73faba77c # Parent 9ba45b125ee8ac596cda6748a372297079d142f0 pt-arg-list.cc (tree_argument_list::convert_to_const_vector): don't insert undefined elements in return list diff -r 9ba45b125ee8 -r 7d1a8ad7d841 src/ChangeLog --- a/src/ChangeLog Thu Oct 02 13:25:57 2008 -0400 +++ b/src/ChangeLog Thu Oct 02 15:00:18 2008 -0400 @@ -1,3 +1,8 @@ +2008-10-02 John W. Eaton + + * pt-arg-list.cc (tree_argument_list::convert_to_const_vector): + Don't insert undefined elements in return list. + 2008-09-30 Jaroslav Hajek * ov-str-mat.h (octave-char-matrix-str::assign): Remove declaration. diff -r 9ba45b125ee8 -r 7d1a8ad7d841 src/pt-arg-list.cc --- a/src/pt-arg-list.cc Thu Oct 02 13:25:57 2008 -0400 +++ b/src/pt-arg-list.cc Thu Oct 02 15:00:18 2008 -0400 @@ -214,7 +214,7 @@ for (int i = 0; i < n; i++) args(j++) = tl(i); } - else + else if (tmp.is_defined ()) args(j++) = tmp; } }