MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / luaX_next

Function luaX_next

other_src/lua/src/llex.cpp:448–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446
447
448void luaX_next (LexState *ls) {
449 ls->lastline = ls->linenumber;
450 if (ls->lookahead.token != TK_EOS) { /* is there a look-ahead token? */
451 ls->t = ls->lookahead; /* use this one */
452 ls->lookahead.token = TK_EOS; /* and discharge it */
453 }
454 else
455 ls->t.token = llex(ls, &ls->t.seminfo); /* read next token */
456}
457
458
459void luaX_lookahead (LexState *ls) {

Callers 15

testnextFunction · 0.70
checknextFunction · 0.70
str_checknameFunction · 0.70
luaY_parserFunction · 0.70
fieldFunction · 0.70
yindexFunction · 0.70
parlistFunction · 0.70
funcargsFunction · 0.70
prefixexpFunction · 0.70
primaryexpFunction · 0.70
simpleexpFunction · 0.70
subexprFunction · 0.70

Calls 1

llexFunction · 0.70

Tested by 1

test_then_blockFunction · 0.56