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

Function enterlevel

third-party/lua-5.1.5/src/lparser.c:276–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275
276static void enterlevel (LexState *ls) {
277 if (++ls->L->nCcalls > LUAI_MAXCCALLS)
278 luaX_lexerror(ls, "chunk has too many syntax levels", 0);
279}
280
281
282#define leavelevel(ls) ((ls)->L->nCcalls--)

Callers 9

subexprFunction · 0.70
chunkFunction · 0.70
subexprFunction · 0.50
restassignFunction · 0.50
initglobalFunction · 0.50
statementFunction · 0.50
subexprFunction · 0.50
restassignFunction · 0.50
statementFunction · 0.50

Calls 1

luaX_lexerrorFunction · 0.85

Tested by

no test coverage detected