Switch get_function to default to not doing object lookup. Correct method eval to maintain method lambda syntax. Add unit test for method lambda

This commit is contained in:
Jonathan Turner
2009-08-21 20:05:05 +00:00
parent c539e0b458
commit 7e5b7cbd7a
4 changed files with 25 additions and 12 deletions

View File

@@ -324,7 +324,7 @@ namespace chaiscript
std::vector<std::pair<std::string, std::multimap<std::string, Proxy_Function >::mapped_type> >
get_function(const std::string &t_name) const
{
return get_function_impl(t_name, true);
return get_function_impl(t_name, false);
}
/**