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

Function check

Source/Misc/lua/src/lua.c:7665–7668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7663
7664
7665static void check (LexState *ls, int c) {
7666if (ls->t.token != c)
7667error_expected(ls, c);
7668}
7669
7670static void checknext (LexState *ls, int c) {
7671check(ls, c);

Callers 7

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

Calls 1

error_expectedFunction · 0.85

Tested by

no test coverage detected