aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/llex.c b/llex.c
index 4f8756a6..66a3e3c4 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 2.79 2014/07/18 12:17:54 roberto Exp roberto $ 2** $Id: llex.c,v 2.80 2014/07/18 13:36:14 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*/
@@ -360,8 +360,8 @@ static int readhexaesc (LexState *ls) {
360} 360}
361 361
362 362
363static unsigned int readutf8esc (LexState *ls) { 363static unsigned long readutf8esc (LexState *ls) {
364 unsigned int r; 364 unsigned long r;
365 int i = 4; /* chars to be removed: '\', 'u', '{', and first digit */ 365 int i = 4; /* chars to be removed: '\', 'u', '{', and first digit */
366 save_and_next(ls); /* skip 'u' */ 366 save_and_next(ls); /* skip 'u' */
367 esccheck(ls, ls->current == '{', "missing '{'"); 367 esccheck(ls, ls->current == '{', "missing '{'");