Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report errors in ANTLRFileStream. #2102

Merged
merged 1 commit into from
Nov 29, 2017

Conversation

ewanmellor
Copy link
Contributor

Change the initializer to ANTLRFileStream so that it throws any errors that
occur while reading the file. Previously, it was just dropping any errors on
the floor (inside Utils.readFile).

Remove Utils.readFile, it's not used anywhere else.

Change the initializer to ANTLRFileStream so that it throws any errors that
occur while reading the file.  Previously, it was just dropping any errors on
the floor (inside Utils.readFile).

Remove Utils.readFile, it's not used anywhere else.
@ewanmellor ewanmellor force-pushed the swift-antlrfilestream-report-errors branch from 949da86 to e77d690 Compare November 11, 2017 02:06
@parrt parrt added this to the 4.7.1 milestone Nov 29, 2017
@parrt parrt merged commit 8b86af6 into antlr:master Nov 29, 2017
@ewanmellor ewanmellor deleted the swift-antlrfilestream-report-errors branch November 30, 2017 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants