Fix yield's 'input precedence' (352269, r=mrbkap).

This commit is contained in:
brendan%mozilla.org 2006-09-12 05:16:26 +00:00
parent 276b585a76
commit 29d996a80d

View File

@ -1790,6 +1790,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
#if JS_HAS_GENERATORS
case JSOP_YIELD:
op = JSOP_SETNAME; /* turn off most parens */
rval = POP_STR();
todo = (*rval != '\0')
? Sprint(&ss->sprinter,