Skip \r as whitespace
This commit is contained in:
parent
8518c1a58f
commit
863ea189eb
2
ell.c
2
ell.c
|
@ -253,7 +253,7 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool ell_lexer_is_whitespace (int c) {
|
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] = {
|
static unsigned char ell_lexer_escapes[256] = {
|
||||||
|
|
Loading…
Reference in New Issue