aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index 38e72c5d..e2afba0e 100644
--- a/llex.c
+++ b/llex.c
@@ -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
84static void skipspace (LexState *LL) 84static 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