Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ testnext
Function
testnext
depends/lua/src/lparser.c:97–103 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
96
97
static int testnext (LexState *ls, int c) {
98
if (ls->t.token == c) {
99
luaX_next(ls);
100
return 1;
101
}
102
else return 0;
103
}
104
105
106
static void check (LexState *ls, int c) {
Callers
13
check_match
Function · 0.85
constructor
Function · 0.85
parlist
Function · 0.85
explist
Function · 0.85
assignment
Function · 0.85
gotostat
Function · 0.85
fornum
Function · 0.85
forlist
Function · 0.85
test_then_block
Function · 0.85
ifstat
Function · 0.85
localstat
Function · 0.85
retstat
Function · 0.85
Calls
1
luaX_next
Function · 0.85
Tested by
1
test_then_block
Function · 0.68