| 240 | |
| 241 | |
| 242 | static int check_capture (MatchState *ms, int l) { |
| 243 | l -= '1'; |
| 244 | if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) |
| 245 | return luaL_error(ms->L, "invalid capture index %%%d", l + 1); |
| 246 | return l; |
| 247 | } |
| 248 | |
| 249 | |
| 250 | static int capture_to_close (MatchState *ms) { |
no test coverage detected