Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JS] Fix Parser.getSourceName returning undefined
Parser.getSourceName was expecting a field `sourceName` on `TokenStream`, but that doesn't exist on any `TokenStream` implementation. This commit fixes the bug by calling `getSourceName`, which *is* defined on `BufferedTokenStream`. This commit also removes some nearby commented-out code that didn't make any sense. Signed-off-by: Phlosioneer <mattmdrr2@gmail.com>
- Loading branch information