comparison src/ov-base.cc @ 2979:a3556d2adec9

[project @ 1997-05-15 22:35:37 by jwe]
author jwe
date Thu, 15 May 1997 22:36:40 +0000
parents ebbc34ff7f66
children 7a5a5da64756
comparison
equal deleted inserted replaced
2978:49de01238638 2979:a3556d2adec9
33 #include "lo-ieee.h" 33 #include "lo-ieee.h"
34 34
35 #include "gripes.h" 35 #include "gripes.h"
36 #include "oct-map.h" 36 #include "oct-map.h"
37 #include "oct-obj.h" 37 #include "oct-obj.h"
38 #include "oct-var-ref.h" 38 #include "oct-lvalue.h"
39 #include "ops.h" 39 #include "ops.h"
40 #include "ov-base.h" 40 #include "ov-base.h"
41 #include "ov-scalar.h" 41 #include "ov-scalar.h"
42 #include "ov-re-mat.h" 42 #include "ov-re-mat.h"
43 #include "ov-complex.h" 43 #include "ov-complex.h"
94 error ("can't perform structure reference operations for %s type", 94 error ("can't perform structure reference operations for %s type",
95 nm.c_str ()); 95 nm.c_str ());
96 return octave_value (); 96 return octave_value ();
97 } 97 }
98 98
99 octave_variable_reference 99 octave_lvalue
100 octave_base_value::struct_elt_ref (octave_value *, const string&) 100 octave_base_value::struct_elt_ref (octave_value *, const string&)
101 { 101 {
102 string nm = type_name (); 102 string nm = type_name ();
103 error ("can't perform structure reference operations for %s type", 103 error ("can't perform structure reference operations for %s type",
104 nm.c_str ()); 104 nm.c_str ());
105 return octave_variable_reference (); 105 return octave_lvalue ();
106 } 106 }
107 107
108 octave_value 108 octave_value
109 octave_base_value::convert_to_str (void) const 109 octave_base_value::convert_to_str (void) const
110 { 110 {