Mercurial > hg > octave-lojdl
changeset 3527:c7084a0fbddd
[project @ 2000-02-02 10:56:36 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 10:56:36 +0000 |
parents | cc21933776a1 |
children | 19d6fea99ba1 |
files | src/pt-assign.cc src/pt-assign.h |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-assign.cc +++ b/src/pt-assign.cc @@ -106,7 +106,7 @@ if (! error_state) { - if (etype == octave_value::asn_eq) + if (etype == octave_value::op_asn_eq) retval = rhs_val; else retval = ult.value (); @@ -243,7 +243,7 @@ if (! error_state) { - if (etype == octave_value::asn_eq) + if (etype == octave_value::op_asn_eq) retval(k) = rhs_val(k); else retval(k) = ult.value ();
--- a/src/pt-assign.h +++ b/src/pt-assign.h @@ -48,12 +48,12 @@ public: tree_simple_assignment (bool plhs = false, int l = -1, int c = -1, - octave_value::assign_op t = octave_value::asn_eq) + octave_value::assign_op t = octave_value::op_asn_eq) : tree_expression (l, c), lhs (0), rhs (0), preserve (plhs), etype (t) { } tree_simple_assignment (tree_expression *le, tree_expression *re, bool plhs = false, int l = -1, int c = -1, - octave_value::assign_op t = octave_value::asn_eq) + octave_value::assign_op t = octave_value::op_asn_eq) : tree_expression (l, c), lhs (le), rhs (re), preserve (plhs), etype (t) { } @@ -116,12 +116,12 @@ public: tree_multi_assignment (bool plhs = false, int l = -1, int c = -1, - octave_value::assign_op t = octave_value::asn_eq) + octave_value::assign_op t = octave_value::op_asn_eq) : tree_expression (l, c), lhs (0), rhs (0), preserve (plhs), etype(t) { } tree_multi_assignment (tree_argument_list *lst, tree_expression *r, bool plhs = false, int l = -1, int c = -1, - octave_value::assign_op t = octave_value::asn_eq) + octave_value::assign_op t = octave_value::op_asn_eq) : tree_expression (l, c), lhs (lst), rhs (r), preserve (plhs), etype (t) { }