pegjs/lib/compiler
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.
2016-06-10 15:36:23 +02:00
..
passes Harmonize found string escaping with expectation escaping 2016-06-10 15:36:23 +02:00
asts.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00
js.js Rename javascript.js to js.js 2015-09-04 15:38:17 +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