MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / error_expected

Function error_expected

src/Chain/libraries/glua/lparser.cpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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