diff options
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"); |