75cedcb7d8
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
|
||
---|---|---|
.. | ||
generate-bytecode.js | ||
generate-js.js | ||
remove-proxy-rules.js | ||
report-infinite-loops.js | ||
report-left-recursion.js | ||
report-missing-rules.js |