| 13861 | |
| 13862 | |
| 13863 | static int check_capture (MatchState *ms, int l) { |
| 13864 | l -= '1'; |
| 13865 | if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) |
| 13866 | return luaL_error(ms->L, "invalid capture index"); |
| 13867 | return l; |
| 13868 | } |
| 13869 | |
| 13870 | |
| 13871 | static int capture_to_close (MatchState *ms) { |
no test coverage detected