diff options
author | Sam Clegg <sbc@chromium.org> | 2019-12-06 14:56:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-06 14:56:07 -0600 |
commit | b232033385b025ba276423613fb67f644c0596ce (patch) | |
tree | b30376610ebafcf6e44d2becb7c8eebfe4b74e7f /scripts/embedwast.py | |
parent | 6f55457c3edbeed202f27647a2cf0482160af098 (diff) | |
download | binaryen-b232033385b025ba276423613fb67f644c0596ce.tar.gz binaryen-b232033385b025ba276423613fb67f644c0596ce.tar.bz2 binaryen-b232033385b025ba276423613fb67f644c0596ce.zip |
Don't include `$` with names unless outputting to wat format (#2506)
The `$` is not actually part of the name, its the marker that starts
a name in the wat format. It can be confusing to see it show up when
doing `cerr << name`, for example.
This change has Print.cpp add the `$` which seem like the right place
to do this. Plus it revealed a bunch of places where were not calling
printName to escape all the names we were printing.
Diffstat (limited to 'scripts/embedwast.py')
0 files changed, 0 insertions, 0 deletions