Skip to content

Commit

Permalink
Separated values should have begining and ending quote in any case
Browse files Browse the repository at this point in the history
  • Loading branch information
ppomes committed Jul 20, 2024
1 parent dde8bea commit 18670b1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions main/dumpparser.y
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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;
}
}
Expand Down

0 comments on commit 18670b1

Please sign in to comment.