Mercurial > hg > octave-terminal
changeset 265:221a5fa8bf01
[project @ 1994-01-03 22:08:53 by jwe]
author | jwe |
---|---|
date | Mon, 03 Jan 1994 22:08:53 +0000 |
parents | bfda7a46e837 |
children | 818be8915438 |
files | src/symtab.cc |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/symtab.cc +++ b/src/symtab.cc @@ -540,9 +540,7 @@ warning ("save: sorry, can't save read-only variable `%s'", nm); else if (is_function ()) warning ("save: sorry, can't save function `%s'", nm); - else if (! is_defined ()) - warning ("save: sorry, can't save undefined variable `%s'", nm); - else + else if (is_defined ()) { os << "# name: " << nm << "\n"; status = definition->save (os, mark_as_global);