mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r11456: fixed a ejs parser bug for delete() statements
This commit is contained in:
parent
c0ba414a38
commit
b8694c58f5
@ -312,7 +312,9 @@ static int parseStmt(Ejs *ep, int state, int flags)
|
||||
flags | EJS_FLAGS_DELETE) != EJS_STATE_EXPR_DONE) {
|
||||
goto error;
|
||||
}
|
||||
mprDeleteProperty(ep->currentObj, ep->currentProperty->name);
|
||||
if (flags & EJS_FLAGS_EXE) {
|
||||
mprDeleteProperty(ep->currentObj, ep->currentProperty->name);
|
||||
}
|
||||
done++;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user