pegjs/lib
David Majda 25ab98027d Remove info about found string from syntax errors
The |found| property wasn't very useful as it mostly contained just one
character or |null| (the exception being syntax errors triggered by
|error| or |expected|). Similarly, the "but XXX found" part of the error
message (based on the |found| property) wasn't much useful and was
redundant in presence of location info.

For these reasons, this commit removes the |found| property and
corresponding part of the error message from syntax errors. It also
modifies error location info slightly to cover a range of 0 characters,
not 1 character (except when the error is triggered by |error| or
|expected|). This corresponds more precisely to the actual situation.

Fixes #372.
2015-09-18 10:01:15 -07:00
..
compiler Remove info about found string from syntax errors 2015-09-18 10:01:15 -07:00
utils Remove trailing commas in object literals 2015-08-21 16:02:13 +02:00
compiler.js Rename generate-javascript.js to generate-js.js 2015-09-04 15:41:20 +02:00
grammar-error.js Merge pull request #347 from mbaumgartl/errorstack 2015-07-03 13:05:41 +02:00
parser.js Remove info about found string from syntax errors 2015-09-18 10:01:15 -07:00
peg.js Update version to 0.9.0 2015-08-30 08:22:26 +02:00