From 2edc27a64630c448a7616226f9e11858a2dbc582 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Sat, 21 Jul 2018 18:48:57 -0400 Subject: src/libicalvcal/vcc.[c,y] - Fix parsing VCF files produced by Outlook Thanks for your patch bosim Issue#339 --- src/libicalvcal/vcc.c | 4 ++-- src/libicalvcal/vcc.y | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libicalvcal') diff --git a/src/libicalvcal/vcc.c b/src/libicalvcal/vcc.c index 73571ac0..5740a2de 100644 --- a/src/libicalvcal/vcc.c +++ b/src/libicalvcal/vcc.c @@ -1097,12 +1097,12 @@ int yylex() { case ':': { /* consume all line separator(s) adjacent to each other */ /* ignoring linesep immediately after colon. */ -/* c = lexLookahead(); + c = lexLookahead(); while (strchr("\n",c)) { lexSkipLookahead(); c = lexLookahead(); ++mime_lineNum; - }*/ + } DBG_(("db: COLON\n")); return COLON; } diff --git a/src/libicalvcal/vcc.y b/src/libicalvcal/vcc.y index bbcdd657..a16b4144 100644 --- a/src/libicalvcal/vcc.y +++ b/src/libicalvcal/vcc.y @@ -1063,12 +1063,12 @@ int yylex() { case ':': { /* consume all line separator(s) adjacent to each other */ /* ignoring linesep immediately after colon. */ -/* c = lexLookahead(); + c = lexLookahead(); while (strchr("\n",c)) { lexSkipLookahead(); c = lexLookahead(); ++mime_lineNum; - }*/ + } DBG_(("db: COLON\n")); return COLON; } -- cgit v1.2.1