MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / error_expected

Function error_expected

Source/Misc/lua/src/lua.c:7641–7644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7639
7640
7641static void error_expected (LexState *ls, int token) {
7642luaX_syntaxerror(ls,
7643luaO_pushfstring(ls->L, LUA_QS " expected", luaX_token2str(ls, token)));
7644}
7645
7646
7647static void 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