diff src/pt-arg-list.cc @ 5388:7099eb9841b4

[project @ 2005-06-14 20:04:31 by jwe]
author jwe
date Tue, 14 Jun 2005 20:04:31 +0000
parents 4c8a2e4e0717
children a527e0f77aa5
line wrap: on
line diff
--- a/src/pt-arg-list.cc
+++ b/src/pt-arg-list.cc
@@ -145,11 +145,7 @@
 	    if (index_position < dv.length ())
 	      retval = dv(index_position);
 	    else
-	      {
-		std::string dv_str = dv.str ();
-		::error ("invalid use of end: (index %d, dims %s)",
-			 index_position+1, dv_str.c_str ());
-	      }
+	      retval = 1;
 	  }
 	  break;
 	}