MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / check

Function check

deps/lua/src/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.85
str_checknameFunction · 0.85
luaY_parserFunction · 0.85
precheckFunction · 0.85
luaG_checkopenopFunction · 0.85
checkArgModeFunction · 0.85
symbexecFunction · 0.85

Calls 1

error_expectedFunction · 0.85

Tested by

no test coverage detected