changeset 3377:c4309e154d0e

[project @ 1999-12-14 07:11:52 by jwe]
author jwe
date Tue, 14 Dec 1999 07:11:52 +0000
parents 6c6cec6d4252
children d81b559cdd5b
files src/ChangeLog src/variables.cc
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Dec 09 08:08:39 1999 +0000
+++ b/src/ChangeLog	Tue Dec 14 07:11:52 1999 +0000
@@ -1,3 +1,9 @@
+1999-12-13  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* variables.cc (link_to_global_variable): If the local symbol is
+	not a variable, don't bother to clear it.  Instead, just redefine
+	it by aliasing to the global symbol.
+
 1999-11-23  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* DLD-FUNCTIONS/balance.cc (Fbalance): Texinfoize doc string.
--- a/src/variables.cc	Thu Dec 09 08:08:39 1999 +0000
+++ b/src/variables.cc	Tue Dec 14 07:11:52 1999 +0000
@@ -711,8 +711,6 @@
 
 	  if (sr->is_variable ())
 	    gsr->define (sr->def ());
-	  else
-	    sr->clear ();
 
 	  // Make sure this symbol is a variable.