|
|
| version 1.435, 2026/10/28 01:17:38 | version 1.436, 2026/11/27 23:56:54 |
|---|---|
| Line 92 const char *opcode_name[]={ | Line 92 const char *opcode_name[]={ |
| "GET_ELEMENT__SPECIAL__WRITE", | "GET_ELEMENT__SPECIAL__WRITE", |
| #endif | #endif |
| // expression ops: unary | // expression ops: unary |
| "NEG", "INV", "NOT", "DEF", "IN", "FEXISTS", "DEXISTS", | "NEG", "INV", "NOT", "DEF", "IN", "FEXISTS", "DEXISTS", "LEXISTS", |
| // expression ops: binary | // expression ops: binary |
| "SUB", "ADD", "MUL", "DIV", "MOD", "INTDIV", | "SUB", "ADD", "MUL", "DIV", "MOD", "INTDIV", |
| "BIN_SL", "BIN_SR", | "BIN_SL", "BIN_SR", |
| Line 956 void Request::execute(ArrayOperation& op | Line 956 void Request::execute(ArrayOperation& op |
| stack.push(value); | stack.push(value); |
| break; | break; |
| } | } |
| case OP::OP_LEXISTS: | |
| { | |
| Value& a=stack.pop().value(); | |
| const String* path=real_disk_path(a.as_string()); | |
| Value& value=VBool::get(path && symlink_exists(*path)); | |
| stack.push(value); | |
| break; | |
| } | |
| // expression ops: binary | // expression ops: binary |
| case OP::OP_SUB: | case OP::OP_SUB: |