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

Function error_expected

depends/lua/src/lparser.c:73–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73static l_noret error_expected (LexState *ls, int token) {
74 luaX_syntaxerror(ls,
75 luaO_pushfstring(ls->L, "%s expected", luaX_token2str(ls, token)));
76}
77
78
79static 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