--- parser3/src/main/execute.C 2001/07/25 08:16:21 1.182 +++ parser3/src/main/execute.C 2001/07/25 10:12:13 1.184 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) */ -static const char *RCSId="$Id: execute.C,v 1.182 2001/07/25 08:16:21 parser Exp $"; +static const char *RCSId="$Id: execute.C,v 1.184 2001/07/25 10:12:13 parser Exp $"; #include "pa_opcode.h" #include "pa_array.h" @@ -95,7 +95,10 @@ void debug_dump(Pool& pool, int level, c } debug_printf(pool, "%*s%s", level*4, "", opcode_name[op.code]); - if(op.code==OP_CURLY_CODE__STORE_PARAM || op.code==OP_EXPR_CODE__STORE_PARAM) { + switch(op.code) { + case OP_CURLY_CODE__STORE_PARAM: + case OP_EXPR_CODE__STORE_PARAM: + case OP_CURLY_CODE__CONSTRUCT: const Array *local_ops=reinterpret_cast(ops.quick_get(++i)); debug_dump(pool, level+1, *local_ops); } @@ -776,6 +779,7 @@ Value& Request::process(Value& value, co frame=NEW WWrapper(pool(), 0/*empty*/, false/*not constructing*/); } + //frame->set_name(value.name()); wcontext=frame; self=&junction->self; root=junction->root;