diff options
Diffstat (limited to 'lstrlib.c')
| -rw-r--r-- | lstrlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -571,7 +571,7 @@ static const char *match_capture (MatchState *ms, const char *s, int l) { | |||
| 571 | static const char *match (MatchState *ms, const char *s, const char *p) { | 571 | static const char *match (MatchState *ms, const char *s, const char *p) { |
| 572 | if (l_unlikely(ms->matchdepth-- == 0)) | 572 | if (l_unlikely(ms->matchdepth-- == 0)) |
| 573 | luaL_error(ms->L, "pattern too complex"); | 573 | luaL_error(ms->L, "pattern too complex"); |
| 574 | init: /* using goto's to optimize tail recursion */ | 574 | init: /* using goto to optimize tail recursion */ |
| 575 | if (p != ms->p_end) { /* end of pattern? */ | 575 | if (p != ms->p_end) { /* end of pattern? */ |
| 576 | switch (*p) { | 576 | switch (*p) { |
| 577 | case '(': { /* start capture */ | 577 | case '(': { /* start capture */ |
