# HG changeset patch # User John W. Eaton # Date 1209959195 14400 # Node ID 45de7d8dac72d28f0d0db2390c7c8e346bcdb4cc # Parent ea9cb4d68dbf333ea3ba23297567c0eff51a682b ov-fcn-handle.cc (Ffunctions): fix structure assignment diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2008-05-04 John W. Eaton + * 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. diff --git a/src/ov-fcn-handle.cc b/src/ov-fcn-handle.cc --- a/src/ov-fcn-handle.cc +++ b/src/ov-fcn-handle.cc @@ -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");