comment typos

This commit is contained in:
Roberto Ierusalimschy
2010-10-29 15:52:46 -02:00
parent c6ef3e2672
commit fdd5f2f7a3
4 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstrlib.c,v 1.154 2010/07/02 11:38:13 roberto Exp roberto $
** $Id: lstrlib.c,v 1.155 2010/10/25 19:01:37 roberto Exp roberto $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
@@ -424,7 +424,7 @@ static const char *match (MatchState *ms, const char *s, const char *p) {
default: goto dflt;
}
}
default: dflt: { /* pattern class plus optional sufix */
default: dflt: { /* pattern class plus optional suffix */
const char *ep = classend(ms, p); /* points to what is next */
int m = s < ms->src_end && singlematch(uchar(*s), p, ep);
switch (*ep) {