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 75cedcb7d8 Harmonize found string escaping with expectation escaping
Change how found strings are escaped when building syntax error
messages:

  * Do not escape non-ASCII characters (U+0100-U+FFFF). They are
    typically more readable in their raw form.

  * Escape DEL (U+007F). It is a control character.

  * Escape NUL (U+0000) as "\0", not "\x00".

  * Do not use less known shortcut escape sequences ("\b", "\f"), only the
    well-known ones ("\0", "\t", "\n", "\r").

These changes mirror expectation escaping changes done in
4fe682794d.

Part of work on #428.
9 years ago
..
compiler Harmonize found string escaping with expectation escaping 9 years ago
utils Remove trailing commas in object literals 9 years ago
.eslintrc.json ESLint: Set environments better 9 years ago
compiler.js Rename the "PEG" variable to "peg" 9 years ago
grammar-error.js Merge pull request #347 from mbaumgartl/errorstack 9 years ago
parser.js Harmonize found string escaping with expectation escaping 9 years ago
peg.js Rename the "buildParser" function to "generate" 9 years ago