Lines Matching refs:lh
1120 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) {
1124 for (; lh; lh = lh->prev) { /* check all previous assignments */
1125 if (lh->v.k == VINDEXED) { /* assigning to a table? */
1127 if (lh->v.u.ind.vt == v->k && lh->v.u.ind.t == v->u.info) {
1129 lh->v.u.ind.vt = VLOCAL;
1130 lh->v.u.ind.t = extra; /* previous assignment will use safe copy */
1133 if (v->k == VLOCAL && lh->v.u.ind.idx == v->u.info) {
1135 lh->v.u.ind.idx = extra; /* previous assignment will use safe copy */
1148 static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) {
1150 check_condition(ls, vkisvar(lh->v.k), "syntax error");
1153 nv.prev = lh;
1156 check_conflict(ls, lh, &nv.v);
1169 luaK_storevar(ls->fs, &lh->v, &e);
1174 luaK_storevar(ls->fs, &lh->v, &e);