Mercurial > octave-nkf
diff src/ov-base.cc @ 2948:56be458e237f
[project @ 1997-05-09 13:37:35 by jwe]
author | jwe |
---|---|
date | Fri, 09 May 1997 13:51:06 +0000 |
parents | e6d25bc478dd |
children | ac3368dba5d3 |
line wrap: on
line diff
--- a/src/ov-base.cc Fri May 09 13:32:52 1997 +0000 +++ b/src/ov-base.cc Fri May 09 13:51:06 1997 +0000 @@ -44,6 +44,7 @@ #include "ov-str-mat.h" #include "ov-range.h" #include "ov-list.h" +#include "variables.h" int octave_base_value::t_id = -1; @@ -74,14 +75,13 @@ return octave_value (); } -octave_value& -octave_base_value::struct_elt_ref (const string&) +octave_variable_reference +octave_base_value::struct_elt_ref (octave_value *, const string&) { - static octave_value foo; string nm = type_name (); error ("can't perform structure reference operations for %s type", nm.c_str ()); - return foo; + return octave_variable_reference (); } octave_value