summaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstrlib.c')
-rw-r--r--lstrlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstrlib.c b/lstrlib.c
index 00a510ee..21e8239f 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.154 2010/07/02 11:38:13 roberto Exp roberto $ 2** $Id: lstrlib.c,v 1.155 2010/10/25 19:01:37 roberto Exp roberto $
3** Standard library for string operations and pattern-matching 3** Standard library for string operations and pattern-matching
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -424,7 +424,7 @@ static const char *match (MatchState *ms, const char *s, const char *p) {
424 default: goto dflt; 424 default: goto dflt;
425 } 425 }
426 } 426 }
427 default: dflt: { /* pattern class plus optional sufix */ 427 default: dflt: { /* pattern class plus optional suffix */
428 const char *ep = classend(ms, p); /* points to what is next */ 428 const char *ep = classend(ms, p); /* points to what is next */
429 int m = s < ms->src_end && singlematch(uchar(*s), p, ep); 429 int m = s < ms->src_end && singlematch(uchar(*s), p, ep);
430 switch (*ep) { 430 switch (*ep) {