|
|
| version 1.82, 2001/03/10 11:44:42 | version 1.83, 2001/03/10 12:12:51 |
|---|---|
| Line 179 void Request::execute(const Array& ops) | Line 179 void Request::execute(const Array& ops) |
| case OP_WRITE: | case OP_WRITE: |
| { | { |
| Value *value=POP(); | Value *value=POP(); |
| wcontext->write(*value); | write(*value); |
| break; | break; |
| } | } |
| Line 193 void Request::execute(const Array& ops) | Line 193 void Request::execute(const Array& ops) |
| case OP_GET_ELEMENT__WRITE: | case OP_GET_ELEMENT__WRITE: |
| { | { |
| Value *value=get_element(); | Value *value=get_element(); |
| wcontext->write(*value); | write(*value); |
| break; | break; |
| } | } |
| Line 299 void Request::execute(const Array& ops) | Line 299 void Request::execute(const Array& ops) |
| if(wcontext->constructing()) { // constructing? | if(wcontext->constructing()) { // constructing? |
| // yes, constructor call: $some(^class:method(..)) | // yes, constructor call: $some(^class:method(..)) |
| self=NEW VObject(pool(), *called_class); | self=NEW VObject(pool(), *called_class); |
| frame->write(*self); | frame->write(*self, |
| String::Untaint_lang::NO // not used, always an object, not string | |
| ); | |
| } else | } else |
| self=&frame->junction.self; // no, static or simple dynamic call | self=&frame->junction.self; // no, static or simple dynamic call |