diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-10-29 15:52:46 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-10-29 15:52:46 -0200 |
commit | fdd5f2f7a32535eb8f2fbafbed2d84c0e69392c0 (patch) | |
tree | 6a546b664d3abca7bddc9e650dc9062fed430c4c /lstrlib.c | |
parent | c6ef3e2672859a26bb5f0ab5fa3f99a3fb32d5b4 (diff) | |
download | lua-fdd5f2f7a32535eb8f2fbafbed2d84c0e69392c0.tar.gz lua-fdd5f2f7a32535eb8f2fbafbed2d84c0e69392c0.tar.bz2 lua-fdd5f2f7a32535eb8f2fbafbed2d84c0e69392c0.zip |
comment typos
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |