MCPcopy Create free account
hub / github.com/DFHack/dfhack / exp1

Function exp1

depends/lua/src/lparser.c:1281–1289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279
1280
1281static int exp1 (LexState *ls) {
1282 expdesc e;
1283 int reg;
1284 expr(ls, &e);
1285 luaK_exp2nextreg(ls->fs, &e);
1286 lua_assert(e.k == VNONRELOC);
1287 reg = e.u.info;
1288 return reg;
1289}
1290
1291
1292static void forbody (LexState *ls, int base, int line, int nvars, int isnum) {

Callers 1

fornumFunction · 0.85

Calls 2

exprFunction · 0.85
luaK_exp2nextregFunction · 0.85

Tested by

no test coverage detected