aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-24 18:08:46 +0200
committerOmar Polo <op@omarpolo.com>2021-06-24 18:08:46 +0200
commit6ba9e5a881b55a289e7a286d873b65a909a336de (patch)
tree4e99cc07dcffe8d89aac395f8d4b0990256a4ab5
parentc86d164e89788d2e0c3509f3e3901ec1a4f5a815 (diff)
downloadtelescope-6ba9e5a881b55a289e7a286d873b65a909a336de.tar.gz
telescope-6ba9e5a881b55a289e7a286d873b65a909a336de.tar.bz2
second part of my "ignore \r"
-rw-r--r--parse.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index d9597ba..09436da 100644
--- a/parse.y
+++ b/parse.y
@@ -215,6 +215,9 @@ repeat:
if (escape)
continue;
break;
+ case '\r':
+ /* ignore \r here too */
+ continue;
case '\n':
if (quotes)
yyerror("unterminated quotes in column %d",