mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
Merge pull request #219 from captainIowa/master
Added CSV change to CDL.java
This commit is contained in:
commit
f239dc75ad
1 changed files with 6 additions and 1 deletions
7
CDL.java
7
CDL.java
|
@ -69,7 +69,12 @@ public class CDL {
|
|||
for (;;) {
|
||||
c = x.next();
|
||||
if (c == q) {
|
||||
break;
|
||||
//Handle escaped double-quote
|
||||
if(x.next() != '\"')
|
||||
{
|
||||
x.back();
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (c == 0 || c == '\n' || c == '\r') {
|
||||
throw x.syntaxError("Missing close quote '" + q + "'.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue