Fixed missing case in 'luaV_finishOp'

A metamethod call like '1 << a' was not being properly resumed
if it got yielded.
This commit is contained in:
Roberto Ierusalimschy
2019-08-27 10:28:09 -03:00
parent 3df5624ff4
commit 643188d6e5
2 changed files with 7 additions and 1 deletions

2
lvm.c
View File

@@ -727,7 +727,7 @@ void luaV_finishOp (lua_State *L) {
case OP_MUL: case OP_DIV: case OP_IDIV:
case OP_BANDK: case OP_BORK: case OP_BXORK:
case OP_BAND: case OP_BOR: case OP_BXOR:
case OP_SHRI: case OP_SHL: case OP_SHR:
case OP_SHLI: case OP_SHRI: case OP_SHL: case OP_SHR:
case OP_MOD: case OP_POW:
case OP_UNM: case OP_BNOT: case OP_LEN:
case OP_GETTABUP: case OP_GETTABLE: case OP_GETI: