| 224 | |
| 225 | |
| 226 | static int check_capture (MatchState *ms, int l) { |
| 227 | l -= '1'; |
| 228 | if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) |
| 229 | return luaL_error(ms->L, "invalid capture index %%%d", l + 1); |
| 230 | return l; |
| 231 | } |
| 232 | |
| 233 | |
| 234 | static int capture_to_close (MatchState *ms) { |
no test coverage detected