Skip \r as whitespace

This commit is contained in:
Přemysl Eric Janouch 2017-06-01 10:30:00 +02:00
parent 8518c1a58f
commit 863ea189eb
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 1 deletions

2
ell.c
View File

@ -253,7 +253,7 @@ enum {
};
static bool ell_lexer_is_whitespace (int c) {
return !c || c == ' ' || c == '\t';
return !c || c == ' ' || c == '\t' || c == '\r';
}
static unsigned char ell_lexer_escapes[256] = {