Mercurial > hg > octave-nkf
changeset 2389:3db75e5cdf7c
[project @ 1996-10-12 19:07:29 by jwe]
author | jwe |
---|---|
date | Sat, 12 Oct 1996 19:10:07 +0000 |
parents | 4be11abb8d8c |
children | c2c1482c34c8 |
files | src/pt-mvr-base.cc src/pt-mvr.cc src/pt-mvr.h |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-mvr-base.cc +++ b/src/pt-mvr-base.cc @@ -29,7 +29,7 @@ #endif #include "error.h" -#include "pt-const.h" +#include "ov.h" #include "pt-mvr-base.h" // A base class for objects that can be return multiple values
--- a/src/pt-mvr.cc +++ b/src/pt-mvr.cc @@ -312,7 +312,7 @@ // works, but maybe we should have the option of // skipping the assignment instead. - octave_value *tmp = 0; + tree_constant *tmp = 0; if (results(i).is_undefined ()) { error ("element number %d undefined in return list", i+1); @@ -320,7 +320,7 @@ break; } else - tmp = new octave_value (results(i)); + tmp = new tree_constant (results(i)); tree_simple_assignment_expression tmp_expr (lhs_expr, tmp, 1, 0, ma_line, ma_column);