diff options
-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.28 2007/10/25 16:45:47 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 2.29 2008/12/26 11:55:57 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 | */ |
@@ -286,7 +286,7 @@ static void read_string (LexState *ls, int del, SemInfo *seminfo) { | |||
286 | case 'r': c = '\r'; break; | 286 | case 'r': c = '\r'; break; |
287 | case 't': c = '\t'; break; | 287 | case 't': c = '\t'; break; |
288 | case 'v': c = '\v'; break; | 288 | case 'v': c = '\v'; break; |
289 | case '\n': /* go through */ | 289 | case '\n': |
290 | case '\r': save(ls, '\n'); inclinenumber(ls); continue; | 290 | case '\r': save(ls, '\n'); inclinenumber(ls); continue; |
291 | case EOZ: continue; /* will raise an error next loop */ | 291 | case EOZ: continue; /* will raise an error next loop */ |
292 | default: { | 292 | default: { |