MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / check

Function check

xrepo/packages/l/lua/port/lua/src/lparser.c:107–110  ·  view source on GitHub ↗

** Check that next token is 'c'. */

Source from the content-addressed store, hash-verified

105** Check that next token is 'c'.
106*/
107static void check (LexState *ls, int c) {
108 if (ls->t.token != c)
109 error_expected(ls, c);
110}
111
112
113/*

Callers 6

checknextFunction · 0.70
str_checknameFunction · 0.70
mainfuncFunction · 0.70
visitMethod · 0.50
doParseMethod · 0.50
nextArrayMethod · 0.50

Calls 1

error_expectedFunction · 0.85

Tested by

no test coverage detected