-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In line 16 of the StringInputter.java file, I state that there is a bug where the KleinScanner will skip the last token of a file. This is due to the face that the this.input.hasNext() function within KleinScanner will be false once the generateToken() function reaches the end of file, and the EOF token is generated instead of the last token. Presently, there is a dirty fix that just extends the program by a single whitespace character, and this solves the issue. However, I would like a better solution.