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

Function check

engine/lua/src/lua/lparser.c:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88
89static void check (LexState *ls, int c) {
90 if (ls->t.token != c)
91 error_expected(ls, c);
92}
93
94static void checknext (LexState *ls, int c) {
95 check(ls, c);

Callers 7

checknextFunction · 0.70
str_checknameFunction · 0.70
luaY_parserFunction · 0.70
precheckFunction · 0.70
luaG_checkopenopFunction · 0.70
checkArgModeFunction · 0.70
symbexecFunction · 0.70

Calls 1

error_expectedFunction · 0.85

Tested by

no test coverage detected