pegjs/lib/compiler
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.
2016-07-29 12:05:54 +02:00
..
passes Split peg$buildException into two separate functions 2016-07-29 12:05:54 +02:00
asts.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00
index.js Report duplicate labels as errors 2016-06-27 13:45:59 +02:00
js.js Simplify various escaping functions 2016-06-11 13:29:50 +02:00
opcodes.js Fix comment typo 2015-08-18 10:58:22 +02:00
visitor.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00