Skip \r as whitespace

This commit is contained in:
2017-06-01 10:30:00 +02:00
parent 8518c1a58f
commit 863ea189eb

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] = {