summaryrefslogtreecommitdiff
path: root/src/binary-reader-objdump.cc
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-07-17 15:23:22 -0700
committerGitHub <noreply@github.com>2017-07-17 15:23:22 -0700
commit72ae6f4a7a8d3e417a8db6484a363328f08e6aa9 (patch)
tree10c50cbb9e0d5dbdcecf1e364432154378c49216 /src/binary-reader-objdump.cc
parent31af1dcc64a26c0ebac901f773a2c9f359b07451 (diff)
downloadwabt-72ae6f4a7a8d3e417a8db6484a363328f08e6aa9.tar.gz
wabt-72ae6f4a7a8d3e417a8db6484a363328f08e6aa9.tar.bz2
wabt-72ae6f4a7a8d3e417a8db6484a363328f08e6aa9.zip
Remove StringSlice (#576)
* Added StringTerminal only used by the lexer and parser, since we need an object that has a non-trivial constructor/destructor (so it can be included in the Token union). * Name all terminal Token members with `t_` prefix * Rename Literal -> LiteralTerminal, and only use for the lexer/parser. * Move LiteralType to literal.h * Use std::vector<std::string> for TextList and rename to TextVector * Renamed CopyStringContents -> RemoveEscapes, and make it a template so it can write to a std::string and a std::vector. * Rename DupTextList -> RemoveEscapes, and simplify it considerably.
Diffstat (limited to 'src/binary-reader-objdump.cc')
0 files changed, 0 insertions, 0 deletions