| 184 | |
| 185 | |
| 186 | static int check_capture (MatchState *ms, int l) { |
| 187 | l -= '1'; |
| 188 | if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) |
| 189 | return luaL_error(ms->L, "invalid capture index"); |
| 190 | return l; |
| 191 | } |
| 192 | |
| 193 | |
| 194 | static int capture_to_close (MatchState *ms) { |
no test coverage detected