binaryen
binaryen copied to clipboard
Correctly handle escapes in string constants
Previously when we parsed string.const payloads in the text format we were
using the text strings directly instead of un-escaping them. Fix that parsing,
and while we're editing the code, also add support for the \r escape allowed
by the spec. Remove a spurious nested anonymous namespace and spurious statics
in Print.cpp as well.
