--- parser3/src/main/execute.C 2001/04/06 10:20:37 1.139 +++ parser3/src/main/execute.C 2001/04/06 10:32:20 1.140 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: execute.C,v 1.139 2001/04/06 10:20:37 paf Exp $ + $Id: execute.C,v 1.140 2001/04/06 10:32:20 paf Exp $ */ #include "pa_config_includes.h" @@ -665,8 +665,9 @@ Value *Request::get_element() { Value *ncontext=POP(); Value *value=ncontext->get_element(name); if(!value) - if(Method* method=ROOT.get_method(name)) // operator? - value=NEW VJunction(*NEW Junction(pool(), *self, self->get_class(), method, 0,0,0,0)); + if(Method* method=OP.get_method(name)) // operator? + value=NEW VJunction(*NEW Junction(pool(), + *self, self->get_class(), method, 0,0,0,0)); if(value) value=&process(*value, &name); // process possible code-junction else {