MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / error_expected

Function error_expected

extlibs/lua/src/lparser.c:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68static l_noret error_expected (LexState *ls, int token) {
69 luaX_syntaxerror(ls,
70 luaO_pushfstring(ls->L, "%s expected", luaX_token2str(ls, token)));
71}
72
73
74static l_noret errorlimit (FuncState *fs, int limit, const char *what) {

Callers 2

checkFunction · 0.85
check_matchFunction · 0.85

Calls 3

luaX_syntaxerrorFunction · 0.85
luaO_pushfstringFunction · 0.85
luaX_token2strFunction · 0.85

Tested by

no test coverage detected