diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-03-16 18:10:18 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-03-16 18:10:18 -0300 |
| commit | 75250a237cb620ef44b344c07398b8a27bdcddc2 (patch) | |
| tree | 45ef545008a6a6a9bd0fcc1eb1f732194d7b0315 /llex.c | |
| parent | 437a49be5eb312b97645a3c342ab90746c2674c4 (diff) | |
| download | lua-75250a237cb620ef44b344c07398b8a27bdcddc2.tar.gz lua-75250a237cb620ef44b344c07398b8a27bdcddc2.tar.bz2 lua-75250a237cb620ef44b344c07398b8a27bdcddc2.zip | |
typos in comments
Diffstat (limited to 'llex.c')
| -rw-r--r-- | llex.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: llex.c,v 2.61 2012/01/23 23:05:51 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 2.62 2012/12/05 19:57:00 roberto Exp roberto $ |
| 3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -313,7 +313,7 @@ static int readhexaesc (LexState *ls) { | |||
| 313 | int c[3], i; /* keep input for error message */ | 313 | int c[3], i; /* keep input for error message */ |
| 314 | int r = 0; /* result accumulator */ | 314 | int r = 0; /* result accumulator */ |
| 315 | c[0] = 'x'; /* for error message */ | 315 | c[0] = 'x'; /* for error message */ |
| 316 | for (i = 1; i < 3; i++) { /* read two hexa digits */ | 316 | for (i = 1; i < 3; i++) { /* read two hexadecimal digits */ |
| 317 | c[i] = next(ls); | 317 | c[i] = next(ls); |
| 318 | if (!lisxdigit(c[i])) | 318 | if (!lisxdigit(c[i])) |
| 319 | escerror(ls, c, i + 1, "hexadecimal digit expected"); | 319 | escerror(ls, c, i + 1, "hexadecimal digit expected"); |
