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

Function checknext

depends/lua/src/lparser.c:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111
112static void checknext (LexState *ls, int c) {
113 check(ls, c);
114 luaX_next(ls);
115}
116
117
118#define check_condition(ls,c,msg) { if (!(c)) luaX_syntaxerror(ls, msg); }

Callers 11

yindexFunction · 0.85
recfieldFunction · 0.85
constructorFunction · 0.85
bodyFunction · 0.85
assignmentFunction · 0.85
labelstatFunction · 0.85
whilestatFunction · 0.85
forbodyFunction · 0.85
fornumFunction · 0.85
forlistFunction · 0.85
test_then_blockFunction · 0.85

Calls 2

checkFunction · 0.85
luaX_nextFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68