Mercurial > hg > octave-lyh
diff src/ov-fcn-handle.cc @ 11461:2b8531a6a3c9
Change mentions of "nested function" to the less misleading "subfunction"
author | David Grundberg <individ@acc.umu.se> |
---|---|
date | Sat, 08 Jan 2011 11:53:51 +0100 |
parents | 64e7538db12a |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/src/ov-fcn-handle.cc +++ b/src/ov-fcn-handle.cc @@ -1473,7 +1473,7 @@ // Here we are just looking to see if FCN is a method or constructor // for any class. if (local_funcs && fptr - && (fptr->is_nested_function () || fptr->is_private_function () + && (fptr->is_subfunction () || fptr->is_private_function () || fptr->is_class_constructor ())) { // Locally visible function. @@ -1594,7 +1594,7 @@ { m.setfield ("function", fh_nm); - if (fcn->is_nested_function ()) + if (fcn->is_subfunction ()) { m.setfield ("type", "subfunction"); Cell parentage (dim_vector (1, 2));