diff src/variables.cc @ 3088:f33738510eb2

[project @ 1997-10-02 06:38:36 by jwe]
author jwe
date Thu, 02 Oct 1997 06:41:15 +0000
parents 0e458bbb1859
children ff8b4d6371b3
line wrap: on
line diff
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -569,6 +569,8 @@
 
       if (sr_def.is_undefined ())
 	error ("get_global_by_name: undefined symbol `%s'", nm.c_str ());
+      else
+	retval = sr_def;
     }
   else
     error ("get_global_by_name: unknown symbol `%s'", nm.c_str ());