# HG changeset patch # User John W. Eaton # Date 1244488336 14400 # Node ID 1a1c839625b33e8040369f3bbe3e38caa2f71137 # Parent 96abf8f7e5b66b3dd8536b4c585233f015cc4d62 fix exist for function handles and inline functions diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-06-08 John W. Eaton + + * variables.cc (symbol_exist): Returnn 1 for function handles and + inline function objects. + 2009-06-08 Jaroslav Hajek * symtab.h (symbol_table::do_clear_global, diff --git a/src/variables.cc b/src/variables.cc --- a/src/variables.cc +++ b/src/variables.cc @@ -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; }