MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / init_var

Function init_var

third-party/lua-5.5.0/src/lparser.c:273–278  ·  view source on GitHub ↗

** Create an expression representing variable 'vidx' */

Source from the content-addressed store, hash-verified

271** Create an expression representing variable 'vidx'
272*/
273static void init_var (FuncState *fs, expdesc *e, int vidx) {
274 e->f = e->t = NO_JUMP;
275 e->k = VLOCAL;
276 e->u.var.vidx = cast_short(vidx);
277 e->u.var.ridx = getlocalvardesc(fs, vidx)->vd.ridx;
278}
279
280
281/*

Callers 1

searchvarFunction · 0.70

Calls 1

getlocalvardescFunction · 0.70

Tested by

no test coverage detected