Skip to content

Commit f239dc7

Browse files
committed
Merge pull request stleary#219 from captainIowa/master
Added CSV change to CDL.java
2 parents 25a8797 + 86cbfbc commit f239dc7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

CDL.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ private static String getValue(JSONTokener x) throws JSONException {
6969
for (;;) {
7070
c = x.next();
7171
if (c == q) {
72-
break;
72+
//Handle escaped double-quote
73+
if(x.next() != '\"')
74+
{
75+
x.back();
76+
break;
77+
}
7378
}
7479
if (c == 0 || c == '\n' || c == '\r') {
7580
throw x.syntaxError("Missing close quote '" + q + "'.");

0 commit comments

Comments
 (0)