protected String string = null;
/** the line number of the most recently <i>lexed</i> token */
- private int line = 0;
+ protected int line = 0;
/** the line number of the most recently <i>parsed</i> token */
protected int parserLine = 0;
case "implements": return RESERVED;
case "instanceof": return RESERVED;
case "synchronized": return RESERVED;
+ case "cascade": return CASCADE;
//#end
return -1;
}
}
}
- if (!isInteger) this.number = JS.N(dval);
- else this.number = JS.N(longval);
+ if (!isInteger) this.number = new Double(dval);
+ else if(longval >= Integer.MIN_VALUE && longval <= Integer.MAX_VALUE) this.number = new Integer((int)longval);
+ else this.number = new Long(longval);
return NUMBER;
}
private int getString(int c) throws IOException {
StringBuffer stringBuf = null;
int quoteChar = c;
- int val = 0;
c = in.read();
in.startString(); // start after the first "
while(c != quoteChar) {