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.
felix cb3c5f4473 Improve error message for unbalanced brace. (#534)
Currently, an open brace without a corresponding brace will emit this confusing error message:

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

This change adds an error case to the grammar to make it clear what the problem is.
7 years ago
..
compiler Check allowedStartRules exist. (#532) 7 years ago
grammar-error.js Use only "//" comments 8 years ago
parser.js Improve error message for unbalanced brace. (#534) 7 years ago
peg.js Code style: Make all static "require" calls global 8 years ago