Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nextTokenOnChannel was accessing the field `this.channel` instead of the parameter `channel`. The buffered token stream class doesn't have a field named `channel`, so this exhausted the token buffer instead. The bug had not been caught because it is only called from `CommonTokenStream` with parameter `this.channel`. Signed-off-by: Phlosioneer <[email protected]>
- Loading branch information