pegjs/lib
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
..
compiler Split peg$buildException into two separate functions 2016-07-29 12:05:54 +02:00
utils Remove trailing commas in object literals 2015-08-21 16:02:13 +02:00
.eslintrc.json ESLint: Set environments better 2016-01-29 14:50:38 +01:00
grammar-error.js Merge pull request #347 from mbaumgartl/errorstack 2015-07-03 13:05:41 +02:00
parser.js Split peg$buildException into two separate functions 2016-07-29 12:05:54 +02:00
peg.js Don't use "this" inside peg.generate 2016-07-04 08:33:26 +02:00