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

[Swift] Some minor tidyups. #2115

Merged
merged 3 commits into from
Nov 29, 2017
Merged

Commits on Nov 11, 2017

  1. Report errors in ANTLRFileStream.

    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 committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    e77d690 View commit details
    Browse the repository at this point in the history
  2. [Swift] Some minor tidyups.

    Minor tidyups in the Swift runtime.  No semantic change.
    ewanmellor committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    e2f4cdc View commit details
    Browse the repository at this point in the history
  3. [Swift] Remove pointless do block from LexerATNSimulator.

    Remove pointless do block from LexerATNSimulator.  This is a translation
    from Java of a try/finally block, but we have the finally clause in a
    defer block so we don't need the do block.
    ewanmellor committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    6cc35ad View commit details
    Browse the repository at this point in the history