Mercurial > octave-nkf
diff src/variables.cc @ 9318:1a1c839625b3
fix exist for function handles and inline functions
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 08 Jun 2009 15:12:16 -0400 |
parents | 3a447ea9e77b |
children | 610bf90fce2a 22bc7fc7ff4d |
line wrap: on
line diff
--- a/src/variables.cc Mon Jun 08 12:35:07 2009 -0400 +++ b/src/variables.cc Mon Jun 08 15:12:16 2009 -0400 @@ -409,7 +409,8 @@ if (! retval && var_ok && (type == "any" || type == "var") - && (val.is_constant () || val.is_object ())) + && (val.is_constant () || val.is_object () + || val.is_inline_function () || val.is_function_handle ())) { retval = 1; }