Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We shouldn't output any text during parsing, that's just strange! token.ILLEGAL happens when the scanner has an error. This error is recorded in `scerr` during parsing which is eventually returned out. Therefore, we handle the error properly. We can simply return a backup error here in case we don't (scanner errors are checked first).
- Loading branch information