pegjs/examples
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.
2014-04-06 15:20:01 +02:00
..
arithmetics.pegjs Complete rewrite of the arithmetics example grammar 2014-03-12 20:55:04 +01:00
css.pegjs Complete rewrite of the CSS example grammar 2014-03-23 13:29:54 +01:00
javascript.pegjs JavaScript example: Fix parsing of statements 2014-04-06 15:20:01 +02:00
json.pegjs Complete rewrite of the JSON example grammar 2014-03-14 14:28:10 +01:00