diff src/pt-arg-list.cc @ 4265:48897c78c52b

[project @ 2003-01-03 06:04:29 by jwe]
author jwe
date Fri, 03 Jan 2003 06:06:33 +0000
parents b8a4496d7b24
children 7cd865a8c815
line wrap: on
line diff
--- a/src/pt-arg-list.cc
+++ b/src/pt-arg-list.cc
@@ -62,8 +62,14 @@
 {
   octave_base_list<tree_expression *>::append (s);
 
-  if (s && s->is_identifier () && s->name () == "__end__")
-    list_includes_magic_end = true;
+  // XXX FIXME XXX -- wait, it's not that simple!  The argument list
+  // may include expressions, so we will have to do some more work
+  // here.  We need a new function for all expression types that can
+  // tell us whether the expression includes the magic end token!
+
+  //  if (s && s->is_identifier () && s->name () == "__end__")
+
+  list_includes_magic_end = true;
 }
 
 int