Mercurial > hg > octave-max
changeset 782:ffe18d3d64a6
[project @ 1994-10-07 19:01:20 by jwe]
author | jwe |
---|---|
date | Fri, 07 Oct 1994 19:01:34 +0000 |
parents | ce19e27b6895 |
children | d4605a02f1f8 |
files | src/pt-const.cc src/pt-const.h src/pt-exp-base.cc src/pt-exp-base.h src/tc-rep.h |
diffstat | 5 files changed, 22 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-const.cc +++ b/src/pt-const.cc @@ -158,7 +158,7 @@ tree_constant tree_constant::assign_map_element (SLList<char*>& list, - const tree_constant& rhs) + tree_constant& rhs) { tree_constant_rep *tmp_rep = make_unique_map (); @@ -190,7 +190,7 @@ tree_constant tree_constant::assign_map_element (SLList<char*>& list, - const tree_constant& rhs, + tree_constant& rhs, const Octave_object& args) { tree_constant_rep *tmp_rep = make_unique_map ();
--- a/src/pt-const.h +++ b/src/pt-const.h @@ -156,7 +156,7 @@ // Indexed assignment. - tree_constant assign (const tree_constant& rhs, const Octave_object& args) + tree_constant assign (tree_constant& rhs, const Octave_object& args) { if (rep->count > 1) { @@ -170,11 +170,13 @@ // Simple structure assignment. - tree_constant assign_map_element (SLList<char*>& list, tree_constant& rhs); + tree_constant assign_map_element (SLList<char*>& list, + tree_constant& rhs); // Indexed structure assignment. - tree_constant assign_map_element (SLList<char*>& list, tree_constant& rhs, + tree_constant assign_map_element (SLList<char*>& list, + tree_constant& rhs, const Octave_object& args); // Type. It would be nice to eliminate the need for this.
--- a/src/pt-exp-base.cc +++ b/src/pt-exp-base.cc @@ -651,7 +651,7 @@ // A base class for objects that can be evaluated with argument lists. tree_constant -tree_fvc::assign (const tree_constant& t, const Octave_object& args) +tree_fvc::assign (tree_constant& t, const Octave_object& args) { panic_impossible (); return tree_constant (); @@ -694,7 +694,7 @@ } tree_constant -tree_identifier::assign (const tree_constant& rhs) +tree_identifier::assign (tree_constant& rhs) { tree_constant retval; @@ -725,7 +725,7 @@ } tree_constant -tree_identifier::assign (const tree_constant& rhs, const Octave_object& args) +tree_identifier::assign (tree_constant& rhs, const Octave_object& args) { tree_constant retval; @@ -772,7 +772,7 @@ } tree_constant -tree_identifier::assign (SLList<char*> list, const tree_constant& rhs) +tree_identifier::assign (SLList<char*> list, tree_constant& rhs) { tree_constant retval; @@ -804,7 +804,7 @@ } tree_constant -tree_identifier::assign (SLList<char*> list, const tree_constant& rhs, +tree_identifier::assign (SLList<char*> list, tree_constant& rhs, const Octave_object& args) { tree_constant retval; @@ -1099,7 +1099,7 @@ } tree_constant -tree_indirect_ref::assign (const tree_constant& t) +tree_indirect_ref::assign (tree_constant& t) { tree_constant retval; @@ -1112,7 +1112,7 @@ } tree_constant -tree_indirect_ref::assign (const tree_constant& t, const Octave_object& args) +tree_indirect_ref::assign (tree_constant& t, const Octave_object& args) { tree_constant retval;
--- a/src/pt-exp-base.h +++ b/src/pt-exp-base.h @@ -220,7 +220,7 @@ virtual int is_constant (void) const { return 0; } - virtual tree_constant assign (const tree_constant& t, + virtual tree_constant assign (tree_constant& t, const Octave_object& args); virtual char *name (void) const @@ -280,11 +280,11 @@ void document (char *s); - tree_constant assign (const tree_constant& t); - tree_constant assign (const tree_constant& t, const Octave_object& args); + tree_constant assign (tree_constant& t); + tree_constant assign (tree_constant& t, const Octave_object& args); - tree_constant assign (SLList<char*> list, const tree_constant& t); - tree_constant assign (SLList<char*> list, const tree_constant& t, + tree_constant assign (SLList<char*> list, tree_constant& t); + tree_constant assign (SLList<char*> list, tree_constant& t, const Octave_object& args); int is_defined (void); @@ -350,8 +350,8 @@ char *name (void); - tree_constant assign (const tree_constant& t); - tree_constant assign (const tree_constant& t, const Octave_object& args); + tree_constant assign (tree_constant& t); + tree_constant assign (tree_constant& t, const Octave_object& args); void mark_for_possible_ans_assign (void) { id->mark_for_possible_ans_assign (); }