From 863ea189ebaa9e7bd5226a71c443c14c98406b52 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Thu, 1 Jun 2017 10:30:00 +0200 Subject: Skip \r as whitespace --- ell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ell.c b/ell.c index 52d902e..e5f7c57 100644 --- a/ell.c +++ b/ell.c @@ -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] = { -- cgit v1.2.3-70-g09d2