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 e9cb23608d Split peg$buildException into two separate functions
This change reflects the fact that PEG.js-generated parsers really
produce two kinds of syntax errors:

  Structured errors

    Caused by match failures, trailing input, or calls of the "expected"
    function in parser code. Their messages have fixed format ("Expected
    ... but ... found.").

  Simple errors

    Caused by calls of the "error" function in parser code. Their
    messages don't have any fixed format.

Each kind of error now has a separate helper function which builds its
instances.
8 years ago
..
passes Split peg$buildException into two separate functions 8 years ago
asts.js Fix labels leaking to outer scope 8 years ago
index.js Report duplicate labels as errors 8 years ago
js.js Simplify various escaping functions 8 years ago
opcodes.js Fix comment typo 9 years ago
visitor.js Fix labels leaking to outer scope 8 years ago