(scm_lookupcar1): Report "Variable used before given a value" insetad
authorMarius Vollmer <mvo@zagadka.de>
Fri, 20 Aug 2004 13:33:28 +0000 (13:33 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Fri, 20 Aug 2004 13:33:28 +0000 (13:33 +0000)
of an "Unbound" one for variables that are found but still contain
SCM_UNDEFINED.

libguile/eval.c

index 981f303..8217c40 100644 (file)
@@ -2702,7 +2702,7 @@ error_defined_variable (SCM symbol)
      the displayed message.
   */
   scm_error (scm_unbound_variable_key, NULL,
-            "Undefined variable: ~S",
+            "Variable used before given a value: ~S",
             scm_list_1 (symbol), SCM_BOOL_F);
 }