summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lex.c b/lex.c
index 9a1d3635..675a944f 100644
--- a/lex.c
+++ b/lex.c
@@ -1,4 +1,4 @@
1char *rcs_lex = "$Id: lex.c,v 2.15 1995/07/06 17:47:08 roberto Exp roberto $"; 1char *rcs_lex = "$Id: lex.c,v 2.16 1995/09/15 20:48:26 roberto Exp $";
2 2
3 3
4#include <ctype.h> 4#include <ctype.h>
@@ -161,6 +161,7 @@ int yylex (void)
161 return 0; 161 return 0;
162 case '\n': lua_linenumber++; 162 case '\n': lua_linenumber++;
163 case ' ': 163 case ' ':
164 case '\r': /* CR: to avoid problems with DOS/Windows */
164 case '\t': 165 case '\t':
165 next(); 166 next();
166 continue; 167 continue;