You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mingun 4cc9185a78 Improve error when reserved word used as label (#552)
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".
6 years ago
..
compiler Optimize redundant fail checks (#400) 6 years ago
typings Updated tsd for compiler passes [ci skip] 6 years ago
.eslintrc.js Disabled eslint rule 'prefer-spread' 7 years ago
grammar-error.js Update code format and style 7 years ago
parser.js Improve error when reserved word used as label (#552) 6 years ago
peg.d.ts Added 'lib/peg.d.ts' for internal use 6 years ago
peg.js Set version to v0.11.0-dev 6 years ago