Fix parse dose not work #1

This commit is contained in:
Yasuhiro Hatta 2016-06-11 18:33:09 +09:00
parent 5a1e66c379
commit 83623f140b
1 changed files with 4 additions and 0 deletions

View File

@ -254,6 +254,10 @@ public class CSV: SequenceType, GeneratorType {
if c == delimiter && prev == DQUOTE && (quotationCount % 2 == 0) {
escaping = false
}
if (c == CR || c == LF) && prev == DQUOTE && (quotationCount % 2 == 0) {
escaping = false
}
//
if prev == CR && c != LF && !escaping {