mirror of
https://github.com/ccxvii/mujs.git
synced 2026-02-06 01:41:37 +08:00
Revert "Bug 701886: Always create new scope for eval()."
This reverts commit d248b0ce18.
This commit is contained in:
@@ -56,7 +56,7 @@ static void Fp_toString(js_State *J)
|
||||
if (!js_iscallable(J, 0))
|
||||
js_typeerror(J, "not a function");
|
||||
|
||||
if (self->type == JS_CFUNCTION || self->type == JS_CSCRIPT || self->type == JS_CEVAL) {
|
||||
if (self->type == JS_CFUNCTION || self->type == JS_CSCRIPT) {
|
||||
js_Function *F = self->u.f.function;
|
||||
|
||||
if (js_try(J)) {
|
||||
|
||||
Reference in New Issue
Block a user