diff options
Diffstat (limited to 'llex.c')
-rw-r--r-- | llex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
363 | static unsigned int readutf8esc (LexState *ls) { | 363 | static 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 '{'"); |