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

Function luaK_semerror

third-party/lua-5.5.0/src/lcode.c:43–50  ·  view source on GitHub ↗

semantic error */

Source from the content-addressed store, hash-verified

41
42/* semantic error */
43l_noret luaK_semerror (LexState *ls, const char *fmt, ...) {
44 const char *msg;
45 va_list argp;
46 pushvfstring(ls->L, argp, fmt, msg);
47 ls->t.token = 0; /* remove "near <token>" from final message */
48 ls->linenumber = ls->lastline; /* back to line of last used token */
49 luaX_syntaxerror(ls, msg);
50}
51
52
53/*

Callers 9

check_readonlyFunction · 0.70
buildglobalFunction · 0.70
buildvarFunction · 0.70
jumpscopeerrorFunction · 0.70
undefgotoFunction · 0.70
checkrepeatedFunction · 0.70
getvarattributeFunction · 0.70
localstatFunction · 0.70
getglobalattributeFunction · 0.70

Calls 1

luaX_syntaxerrorFunction · 0.70

Tested by

no test coverage detected