diff src/pt-arg-list.cc @ 8173:7d1a8ad7d841

pt-arg-list.cc (tree_argument_list::convert_to_const_vector): don't insert undefined elements in return list
author John W. Eaton <jwe@octave.org>
date Thu, 02 Oct 2008 15:00:18 -0400
parents 177117c7e375
children 188d38a553c7
line wrap: on
line diff
--- a/src/pt-arg-list.cc
+++ b/src/pt-arg-list.cc
@@ -214,7 +214,7 @@
 		  for (int i = 0; i < n; i++)
 		    args(j++) = tl(i);
 		}
-	      else
+	      else if (tmp.is_defined ())
 		args(j++) = tmp;
 	    }
 	}