Lines Matching defs:lh
1107 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) {
1111 for (; lh; lh = lh->prev) { /* check all previous assignments */
1112 if (lh->v.k == VINDEXED) { /* assigning to a table? */
1114 if (lh->v.u.ind.vt == v->k && lh->v.u.ind.t == v->u.info) {
1116 lh->v.u.ind.vt = VLOCAL;
1117 lh->v.u.ind.t = extra; /* previous assignment will use safe copy */
1120 if (v->k == VLOCAL && lh->v.u.ind.idx == v->u.info) {
1122 lh->v.u.ind.idx = extra; /* previous assignment will use safe copy */
1135 static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) {
1137 check_condition(ls, vkisvar(lh->v.k), "syntax error");
1140 nv.prev = lh;
1143 check_conflict(ls, lh, &nv.v);
1159 luaK_storevar(ls->fs, &lh->v, &e);
1164 luaK_storevar(ls->fs, &lh->v, &e);