Mercurial > octave-nkf
changeset 7756:45de7d8dac72
ov-fcn-handle.cc (Ffunctions): fix structure assignment
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 04 May 2008 23:46:35 -0400 |
parents | ea9cb4d68dbf |
children | 4ff9a6fdde42 |
files | src/ChangeLog src/ov-fcn-handle.cc |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Sun May 04 23:36:31 2008 -0400 +++ b/src/ChangeLog Sun May 04 23:46:35 2008 -0400 @@ -1,5 +1,8 @@ 2008-05-04 John W. Eaton <jwe@octave.org> + * ov-fcn-handle.cc (Ffunctions): Pass octave_value object instead + of Cell in structure field assignment. + * parse.y (frob_function): Don't install subfunctions here. (finish_function): Handle subfunctions here. Conditionally define tree_function_def object here.
--- a/src/ov-fcn-handle.cc Sun May 04 23:36:31 2008 -0400 +++ b/src/ov-fcn-handle.cc Sun May 04 23:46:35 2008 -0400 @@ -1234,7 +1234,7 @@ Cell parentage (dim_vector (1, 2)); parentage.elem(0) = fh_nm; parentage.elem(1) = fcn->parent_fcn_name (); - m.assign ("parentage", parentage); + m.assign ("parentage", octave_value (parentage)); } else m.assign ("type", "simple");