summaryrefslogtreecommitdiff
path: root/src/libicalvcal
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2018-07-21 18:48:57 -0400
committerAllen Winter <allen.winter@kdab.com>2018-07-21 18:48:57 -0400
commit2edc27a64630c448a7616226f9e11858a2dbc582 (patch)
tree3ccdb34f726c350c7ef0d1c6ceb0afbf04080098 /src/libicalvcal
parent9ec819134eb43891fbb783bcdf845518cd6c0ee7 (diff)
downloadlibical-git-2edc27a64630c448a7616226f9e11858a2dbc582.tar.gz
src/libicalvcal/vcc.[c,y] - Fix parsing VCF files produced by Outlook
Thanks for your patch bosim Issue#339
Diffstat (limited to 'src/libicalvcal')
-rw-r--r--src/libicalvcal/vcc.c4
-rw-r--r--src/libicalvcal/vcc.y4
2 files changed, 4 insertions, 4 deletions
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;
}