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