Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Annotate more errors with expected token #172

Merged
merged 1 commit into from
Oct 14, 2016

Commits on Oct 14, 2016

  1. Annotate more errors with expected token

    Expanding on babel#150, this allows `unexpected()` to accept the expected token type instead of a message string.
    This overload is then used in a couple more places (that independently implement a logic similar to `expect()`'s) to construct an `Unexpected token, expected FOO` message.
    motiz88 committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    02e3066 View commit details
    Browse the repository at this point in the history