| 251 | |
| 252 | |
| 253 | static int check_capture(MatchState *ms, int l) { |
| 254 | l -= '1'; |
| 255 | if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) |
| 256 | return luaL_error(ms->L, "invalid capture index %%%d", l + 1); |
| 257 | return l; |
| 258 | } |
| 259 | |
| 260 | |
| 261 | static int capture_to_close(MatchState *ms) { |
no test coverage detected