Skip to content

Commit d98dc0b

Browse files
long
1 parent 92038ce commit d98dc0b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

JSONTokener.java

100755100644
+9-9
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ of this software and associated documentation files (the "Software"), to deal
3636
* it. It is used by the JSONObject and JSONArray constructors to parse
3737
* JSON source strings.
3838
* @author JSON.org
39-
* @version 2011-11-24
39+
* @version 2012-02-16
4040
*/
4141
public class JSONTokener {
4242

43-
private int character;
43+
private long character;
4444
private boolean eof;
45-
private int index;
46-
private int line;
47-
private char previous;
48-
private final Reader reader;
45+
private long index;
46+
private long line;
47+
private char previous;
48+
private Reader reader;
4949
private boolean usePrevious;
5050

5151

@@ -400,9 +400,9 @@ public Object nextValue() throws JSONException {
400400
public char skipTo(char to) throws JSONException {
401401
char c;
402402
try {
403-
int startIndex = this.index;
404-
int startCharacter = this.character;
405-
int startLine = this.line;
403+
long startIndex = this.index;
404+
long startCharacter = this.character;
405+
long startLine = this.line;
406406
this.reader.mark(1000000);
407407
do {
408408
c = this.next();

0 commit comments

Comments
 (0)