You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (ch==eof&"eRule!=QUOTE_RULE_HYBRID) { target->off--; target->len++; } // test 1324 where final field has open quote but not ending quote; include the open quote like quote rule 2
593
+
if (ch==eof&"eRule!=QUOTE_RULE_HYBRID) { target->off--; target->len++; } // test 1324 where final field has open quote but not ending quote; include the open quote like QUOTE_RULE_HYBRID
593
594
while(target->len>0&& ((ch[-1] ==' '&&stripWhite) ||ch[-1] =='\0')) { target->len--; ch--; } // test 1551.6; trailing whitespace in field [67,V37] == "\"\"A\"\" ST "
594
595
}
595
596
// Does end-of-field correspond to end-of-possible-NA?
@@ -1840,7 +1841,7 @@ int freadMain(freadMainArgs _args)
1840
1841
ASSERT(topSep==127, "Single column input has topSep=%d", topSep);
1841
1842
sep=topSep;
1842
1843
// no self healing quote rules, as we don't have >1 field to disambiguate
1843
-
// choose quote rule 0 or 1 based on for which 100 rows gets furthest into file
1844
+
// choose QUOTE_RULE_EMBEDDED_QUOTES_DOUBLED or QUOTE_RULE_EMBEDDED_QUOTES_ESCAPED based on for which 100 rows gets furthest into file
1844
1845
for (quoteRule=QUOTE_RULE_EMBEDDED_QUOTES_DOUBLED; quoteRule <= QUOTE_RULE_EMBEDDED_QUOTES_ESCAPED; quoteRule++) { // #loop_counter_not_local_scope_ok
0 commit comments