MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / checknext

Function checknext

extlibs/lua/src/lparser.c:116–119  ·  view source on GitHub ↗

** Check that next token is 'c' and skip it. */

Source from the content-addressed store, hash-verified

114** Check that next token is 'c' and skip it.
115*/
116static void checknext (LexState *ls, int c) {
117 check(ls, c);
118 luaX_next(ls);
119}
120
121
122#define check_condition(ls,c,msg) { if (!(c)) luaX_syntaxerror(ls, msg); }

Callers 12

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

Calls 2

luaX_nextFunction · 0.85
checkFunction · 0.70

Tested by 1

test_then_blockFunction · 0.68