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.
David Majda c70c8551b4 JavaScript example: Fix parsing of statements
Fixes a problem where statements starting with a reserved word produced
errors like this:

  Reserved word "return" can't be used as an identifier.

The problem was in a wrong ordering of choices in the |Statement| rule
together with aggressive reserved word detection in the |Identifier|
rule.
10 years ago
..
arithmetics.pegjs Complete rewrite of the arithmetics example grammar 10 years ago
css.pegjs Complete rewrite of the CSS example grammar 10 years ago
javascript.pegjs JavaScript example: Fix parsing of statements 10 years ago
json.pegjs Complete rewrite of the JSON example grammar 10 years ago