public Scanner(Reader reader) {
		this.lineNumber = 1;
		this.charPosition = -1;
		this.nextChar = 0;

		this.reader = reader;

		try {
			read();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}