comparison src/ov.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 5708b8bb4f06
comparison
equal deleted inserted replaced
2978:49de01238638 2979:a3556d2adec9
30 30
31 #include "Array-flags.h" 31 #include "Array-flags.h"
32 #include "str-vec.h" 32 #include "str-vec.h"
33 33
34 #include "oct-obj.h" 34 #include "oct-obj.h"
35 #include "oct-var-ref.h" 35 #include "oct-lvalue.h"
36 #include "ov.h" 36 #include "ov.h"
37 #include "ov-base.h" 37 #include "ov-base.h"
38 #include "ov-bool.h" 38 #include "ov-bool.h"
39 #include "ov-bool-mat.h" 39 #include "ov-bool-mat.h"
40 #include "ov-scalar.h" 40 #include "ov-scalar.h"
557 make_unique (); 557 make_unique ();
558 558
559 rep->assign_struct_elt (op, elt_nm, idx, rhs); 559 rep->assign_struct_elt (op, elt_nm, idx, rhs);
560 } 560 }
561 561
562 octave_variable_reference 562 octave_lvalue
563 octave_value::struct_elt_ref (const string& nm) 563 octave_value::struct_elt_ref (const string& nm)
564 { 564 {
565 return rep->struct_elt_ref (this, nm); 565 return rep->struct_elt_ref (this, nm);
566 } 566 }
567 567
568 octave_variable_reference 568 octave_lvalue
569 octave_value::struct_elt_ref (octave_value *, const string&) 569 octave_value::struct_elt_ref (octave_value *, const string&)
570 { 570 {
571 panic_impossible (); 571 panic_impossible ();
572 572
573 return octave_variable_reference (); 573 return octave_lvalue ();
574 } 574 }
575 575
576 Octave_map 576 Octave_map
577 octave_value::map_value (void) const 577 octave_value::map_value (void) const
578 { 578 {