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

Function error_expected

engine/lua/src/lua/lparser.c:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64
65static void error_expected (LexState *ls, int token) {
66 luaX_syntaxerror(ls,
67 luaO_pushfstring(ls->L, LUA_QS " expected", luaX_token2str(ls, token)));
68}
69
70
71static 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