Lines Matching defs:lh
1119 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) {
1123 for (; lh; lh = lh->prev) { /* check all previous assignments */
1124 if (lh->v.k == VINDEXED) { /* assigning to a table? */
1126 if (lh->v.u.ind.vt == v->k && lh->v.u.ind.t == v->u.info) {
1128 lh->v.u.ind.vt = VLOCAL;
1129 lh->v.u.ind.t = extra; /* previous assignment will use safe copy */
1132 if (v->k == VLOCAL && lh->v.u.ind.idx == v->u.info) {
1134 lh->v.u.ind.idx = extra; /* previous assignment will use safe copy */
1147 static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) {
1149 check_condition(ls, vkisvar(lh->v.k), "syntax error");
1152 nv.prev = lh;
1155 check_conflict(ls, lh, &nv.v);
1168 luaK_storevar(ls->fs, &lh->v, &e);
1173 luaK_storevar(ls->fs, &lh->v, &e);