diff options
-rw-r--r-- | llex.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.c,v 1.5 1997/11/07 15:09:49 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 1.6 1997/11/19 17:29:23 roberto Exp roberto $ |
3 | ** Lexical Analizer | 3 | ** Lexical Analizer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -83,7 +83,8 @@ void luaX_setinput (ZIO *z) | |||
83 | 83 | ||
84 | static void skipspace (LexState *LL) | 84 | static void skipspace (LexState *LL) |
85 | { | 85 | { |
86 | while (LL->current == ' ' || LL->current == '\t') next(LL); | 86 | while (LL->current == ' ' || LL->current == '\t' || LL->current == '\r') |
87 | next(LL); | ||
87 | } | 88 | } |
88 | 89 | ||
89 | 90 | ||