aboutsummaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-10-29 15:52:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-10-29 15:52:46 -0200
commitfdd5f2f7a32535eb8f2fbafbed2d84c0e69392c0 (patch)
tree6a546b664d3abca7bddc9e650dc9062fed430c4c /lstrlib.c
parentc6ef3e2672859a26bb5f0ab5fa3f99a3fb32d5b4 (diff)
downloadlua-fdd5f2f7a32535eb8f2fbafbed2d84c0e69392c0.tar.gz
lua-fdd5f2f7a32535eb8f2fbafbed2d84c0e69392c0.tar.bz2
lua-fdd5f2f7a32535eb8f2fbafbed2d84c0e69392c0.zip
comment typos
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) {