--- parser3/src/main/execute.C 2002/10/16 08:24:55 1.286 +++ parser3/src/main/execute.C 2002/10/22 09:40:11 1.287 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_EXECUTE_C="$Date: 2002/10/16 08:24:55 $"; +static const char* IDENT_EXECUTE_C="$Date: 2002/10/22 09:40:11 $"; #include "pa_opcode.h" #include "pa_array.h" @@ -177,6 +177,11 @@ void Request::execute(const Array& ops) } case OP_WITH_WRITE: { + if(wcontext==method_frame) + throw Exception("parser.runtime", + 0, + "$.name outside of $name[...]"); + PUSH(wcontext); break; }