changeset 770:e666a6ab8f83

[project @ 1994-10-05 21:49:56 by jwe]
author jwe
date Wed, 05 Oct 1994 21:49:56 +0000
parents 0ff5735b53f2
children e16a175a8bb5
files src/variables.cc
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/variables.cc	Wed Oct 05 21:44:25 1994 +0000
+++ b/src/variables.cc	Wed Oct 05 21:49:56 1994 +0000
@@ -309,7 +309,10 @@
 	  p2 = strstr (p1, prefix);
 	  
 	  if (! p2)
-	    panic_impossible ();
+	    {
+	      error ("unable to substitute OCTAVE_HOME");
+	      return retval;
+	    }
 
 	  if (p1 == p2)
 	    {
@@ -1253,7 +1256,7 @@
   if (sr_alias)
     sr_alias->alias (sr_name);
   else
-    panic_impossible ();
+    panic ("can't find symbol record for builtin function `%s'", alias);
 }
 
 // Defining variables.