diff src/pt-arg-list.cc @ 5087:7497a16d90f9

[project @ 2004-11-22 05:38:37 by jwe]
author jwe
date Mon, 22 Nov 2004 05:38:37 +0000
parents acbf858264d6
children e35b034d3523
line wrap: on
line diff
--- a/src/pt-arg-list.cc
+++ b/src/pt-arg-list.cc
@@ -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)
     {