diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-09-22 16:26:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 14:26:11 -0700 |
commit | b1ba25732c1a02ae3da726c4b01ca3825ef969ef (patch) | |
tree | f3d6368fabea900d1a4dfa0671dba7df74414e0f /src/wasm/wasm-stack.cpp | |
parent | 27d0c232bb1d6e4f2cb22fbe8511829730457dbd (diff) | |
download | binaryen-b1ba25732c1a02ae3da726c4b01ca3825ef969ef.tar.gz binaryen-b1ba25732c1a02ae3da726c4b01ca3825ef969ef.tar.bz2 binaryen-b1ba25732c1a02ae3da726c4b01ca3825ef969ef.zip |
Correctly handle escapes in string constants (#5070)
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 `static`s
in Print.cpp as well.
Diffstat (limited to 'src/wasm/wasm-stack.cpp')
0 files changed, 0 insertions, 0 deletions