Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ testnext
Function
testnext
engine/lua/src/lua/lparser.c:80–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
79
80
static int testnext (LexState *ls, int c) {
81
if (ls->t.token == c) {
82
luaX_next(ls);
83
return 1;
84
}
85
else return 0;
86
}
87
88
89
static void check (LexState *ls, int c) {
Callers
10
check_match
Function · 0.85
constructor
Function · 0.85
parlist
Function · 0.85
explist1
Function · 0.85
assignment
Function · 0.85
fornum
Function · 0.85
forlist
Function · 0.85
localstat
Function · 0.85
statement
Function · 0.85
chunk
Function · 0.85
Calls
1
luaX_next
Function · 0.85
Tested by
no test coverage detected