diff options
| -rw-r--r-- | lex.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | char *rcs_lex = "$Id: lex.c,v 2.15 1995/07/06 17:47:08 roberto Exp roberto $"; | 1 | char *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; |
