MCPcopy Create free account
hub / github.com/F-Stack/f-stack / check_capture

Function check_capture

freebsd/contrib/openzfs/module/lua/lstrlib.c:237–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235
236
237static int check_capture (MatchState *ms, int l) {
238 l -= '1';
239 if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED)
240 return luaL_error(ms->L, "invalid capture index %%%d", l + 1);
241 return l;
242}
243
244
245static int capture_to_close (MatchState *ms) {

Callers 1

match_captureFunction · 0.70

Calls 1

luaL_errorFunction · 0.70

Tested by

no test coverage detected