--- parser3/src/classes/Attic/nothing.C 2001/05/21 17:17:11 1.3 +++ parser3/src/classes/Attic/nothing.C 2001/05/21 17:19:49 1.4 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: nothing.C,v 1.3 2001/05/21 17:17:11 parser Exp $ + $Id: nothing.C,v 1.4 2001/05/21 17:19:49 parser Exp $ */ #include "classes.h" @@ -25,7 +25,7 @@ class MNothing : public Methoded { public: MNothing(Pool& pool); public: // Methoded - bool used_directly() { return false; } + bool used_directly() { return true; } }; // methods @@ -96,7 +96,7 @@ MNothing::MNothing(Pool& apool) : Method add_native_method("double", Method::CT_DYNAMIC, _double, 0, 0); // ^sql[query] - add_native_method("sql", Method::CT_ANY, _sql, 1, 1); + add_native_method("sql", Method::CT_STATIC, _sql, 1, 1); } // global variable