@@ -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- * @version2011-11-24
39+ * @version2012-02-16
4040 */
4141public class JSONTokener {
4242
43- private int character ;
43+ private long character ;
4444private 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 ;
4949private boolean usePrevious ;
5050
5151
@@ -400,9 +400,9 @@ public Object nextValue() throws JSONException {
400400public char skipTo (char to )throws JSONException {
401401char c ;
402402try {
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 ;
406406this .reader .mark (1000000 );
407407do {
408408c =this .next ();