Mercurial > hg > octave-lyh
changeset 442:976182cb5e74
[project @ 1994-06-01 01:05:09 by jwe]
author | jwe |
---|---|
date | Wed, 01 Jun 1994 01:05:09 +0000 |
parents | b7187b46004f |
children | 25570b554bca |
files | src/variables.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -596,7 +596,7 @@ if (sr == (symbol_record *) NULL) sr = global_sym_tab->lookup (name, 0, 0); - if (sr != (symbol_record *) NULL && sr->is_variable ()) + if (sr != (symbol_record *) NULL && sr->is_variable () && sr->is_defined ()) return 1; else if (sr != (symbol_record *) NULL && sr->is_function ()) return 2;