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

Function check

source/extern/lua/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 9

inspectMethod · 0.85
setPressedMethod · 0.85
checknextFunction · 0.85
str_checknameFunction · 0.85
mainfuncFunction · 0.85
wordMethod · 0.85
parseStringMethod · 0.85

Calls 1

error_expectedFunction · 0.85

Tested by 1

inspectMethod · 0.68