Skip to content

Commit

Permalink
Improve error when reserved word used as label
Browse files Browse the repository at this point in the history
Before this commit error looks like (for input `start = break:'a'`)

> Expected "!", "$", "&", "(", "*", "+", ".", "/", "/*", "//", ";", "?", character class, code block, comment, end of line, identifier, literal, or whitespace but ":" found.

After this error looks like

> Expected identifier but reserved word "break" found.
  • Loading branch information
Mingun committed Jan 6, 2018
1 parent 6dbb6e5 commit 9c8b868
Show file tree
Hide file tree
Showing 3 changed files with 381 additions and 1,915 deletions.

0 comments on commit 9c8b868

Please sign in to comment.