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 1b2279e026 Error handling: Make predicates always return |undefined|
After making the |?| operator return |null| instead of an empty string
in the previous commit, empty strings were still returned from
predicates. This didn't make much sense.

Return value of a predicate is unimportant (if you have one in hand, you
already know the predicate succeeded) and one could even argue that
predicates shouldn't return any value at all. The closest thing to
"return no value" in JavaScript is returning |undefined|, so I decided
to make predicates return exactly that.

Implements part of #198.
11 years ago
..
generate-bytecode.js Error handling: Make predicates always return |undefined| 11 years ago
generate-javascript.js Error handling: Use a special value (not |null|) to indicate failure 11 years ago
remove-proxy-rules.js Move options handling from passes to |PEG.compiler.compile| 12 years ago
report-left-recursion.js Make |GrammarError| require work also in the browser version 12 years ago
report-missing-rules.js Make |GrammarError| require work also in the browser version 12 years ago