diff options
author | Sam Clegg <sbc@chromium.org> | 2022-01-10 12:40:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 12:40:35 -0800 |
commit | c12de34c7d33b3ccf80f117edf78b5346bd00897 (patch) | |
tree | 741ea30521a130d463776a7cc7cce3bfede238bb /test/passes/safe-heap_start-function.wast | |
parent | 4952437ddc3d0ea07725493b14504868702f8967 (diff) | |
download | binaryen-c12de34c7d33b3ccf80f117edf78b5346bd00897.tar.gz binaryen-c12de34c7d33b3ccf80f117edf78b5346bd00897.tar.bz2 binaryen-c12de34c7d33b3ccf80f117edf78b5346bd00897.zip |
Escape \t as well as \n when writing JSON output. (#4437)
As it happens, this doesn't (normally) break the resulting EM_ASM or
EM_JS strings because (IIUC) JS supports the tab literal inside of
strings as well as "\t".
However, it's better to preserve the original text so that it looks
the same in the JS file as it did in the original source.
Diffstat (limited to 'test/passes/safe-heap_start-function.wast')
0 files changed, 0 insertions, 0 deletions