* Creates a new AbstractScanner object.
* @param r The reader to scan.
*/
protected AbstractScanner(Reader r) throws LexicalException {
try {
inputBuffer = new InputBuffer(r);
inputBuffer.setMark();
} catch (IOException e) {
throw createException(e.getLocalizedMessage());
}
}