aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-06-01 10:30:00 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-06-01 10:30:00 +0200
commit863ea189ebaa9e7bd5226a71c443c14c98406b52 (patch)
tree847808595ea0870a219e3d988e291c9224a6360c
parent8518c1a58f63d8a1fc992616480c6202335815e8 (diff)
downloadell-863ea189ebaa9e7bd5226a71c443c14c98406b52.tar.gz
ell-863ea189ebaa9e7bd5226a71c443c14c98406b52.tar.xz
ell-863ea189ebaa9e7bd5226a71c443c14c98406b52.zip
Skip \r as whitespace
-rw-r--r--ell.c2
1 files changed, 1 insertions, 1 deletions
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] = {