MCPcopy Create free account
hub / github.com/DFHack/dfhack / check

Function check

depends/lua/src/lparser.c:106–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104
105
106static void check (LexState *ls, int c) {
107 if (ls->t.token != c)
108 error_expected(ls, c);
109}
110
111
112static void checknext (LexState *ls, int c) {

Callers 3

checknextFunction · 0.85
str_checknameFunction · 0.85
mainfuncFunction · 0.85

Calls 1

error_expectedFunction · 0.85

Tested by

no test coverage detected