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

Function error_expected

third-party/lua-5.2.4/src/lparser.c:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76
77static l_noret error_expected (LexState *ls, int token) {
78 luaX_syntaxerror(ls,
79 luaO_pushfstring(ls->L, "%s expected", luaX_token2str(ls, token)));
80}
81
82
83static l_noret errorlimit (FuncState *fs, int limit, const char *what) {

Callers 2

checkFunction · 0.70
check_matchFunction · 0.70

Calls 3

luaX_syntaxerrorFunction · 0.70
luaO_pushfstringFunction · 0.70
luaX_token2strFunction · 0.70

Tested by

no test coverage detected