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

> Label can't be a reserved word "break".
  • Loading branch information
Mingun committed Jan 7, 2018
1 parent 93f9068 commit 7746a3b
Show file tree
Hide file tree
Showing 3 changed files with 407 additions and 1,916 deletions.

0 comments on commit 7746a3b

Please sign in to comment.