comparison src/load-save.cc @ 7752:40c428ea3408

initial implementation of dbup and dbdown
author John W. Eaton <jwe@octave.org>
date Sun, 04 May 2008 03:42:19 -0400
parents 62279ce5654c
children 71f068b22fcc
comparison
equal deleted inserted replaced
7751:7c020c067a60 7752:40c428ea3408
142 { 142 {
143 if (global) 143 if (global)
144 { 144 {
145 symbol_table::clear (name); 145 symbol_table::clear (name);
146 symbol_table::mark_global (name); 146 symbol_table::mark_global (name);
147 symbol_table::varref (name, symbol_table::global_scope ()) = val; 147 symbol_table::global_varref (name) = val;
148 } 148 }
149 else 149 else
150 symbol_table::varref (name) = val; 150 symbol_table::varref (name) = val;
151 } 151 }
152 152