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 fe18c6ffd3 Fix |null| handling in the JSON parser
We couldn't return |null| in the |value| rule of the JSON example
parser because that would mean parse failure. So until now, we just
returned |"null"| (a string).

This was obviously stupid, so this commit changes the |value| rule to
return a special object instead that is converted to |null| later.

Based on patches by Patrick Logan (GH-91) and Jakub Vrána (GH-191).
11 years ago
..
arithmetics.pegjs Text nodes: Use text nodes in examples/arithmetics.pegjs 12 years ago
css.pegjs Text nodes: Use text nodes in examples/css.pegjs 12 years ago
javascript.pegjs Fix automatic semi-colon insertion 12 years ago
json.pegjs Fix |null| handling in the JSON parser 11 years ago