aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-03-16 18:10:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-03-16 18:10:18 -0300
commit75250a237cb620ef44b344c07398b8a27bdcddc2 (patch)
tree45ef545008a6a6a9bd0fcc1eb1f732194d7b0315 /llex.c
parent437a49be5eb312b97645a3c342ab90746c2674c4 (diff)
downloadlua-75250a237cb620ef44b344c07398b8a27bdcddc2.tar.gz
lua-75250a237cb620ef44b344c07398b8a27bdcddc2.tar.bz2
lua-75250a237cb620ef44b344c07398b8a27bdcddc2.zip
typos in comments
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index 6bc42fe7..3423f86f 100644
--- a/llex.c
+++ b/llex.c
@@ -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");