From 18670b1899ceaa8a36bc9896e2975ce6f3d45a3c Mon Sep 17 00:00:00 2001 From: Pierre POMES Date: Fri, 19 Jul 2024 21:41:59 -0400 Subject: [PATCH] Separated values should have begining and ending quote in any case --- main/dumpparser.y | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/main/dumpparser.y b/main/dumpparser.y index 6e6da94..f5de43e 100644 --- a/main/dumpparser.y +++ b/main/dumpparser.y @@ -236,9 +236,7 @@ singlefield : VALUE { } if (curfield) { curleng=strlen(curfield); - if (cur->quoted) { - fprintf(stdout, "'"); /* Opening quote for field value */ - } + fprintf(stdout, "'"); /* Opening quote for field value */ } else { @@ -263,9 +261,7 @@ singlefield : VALUE { else { bDone=true; - if (cur->quoted) { - fprintf(stdout, "'"); /* Ending quote for field value */ - } + fprintf(stdout, "'"); /* Ending quote for field value */ continue; } }