summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-02-05 10:24:16 -0800
committerGitHub <noreply@github.com>2024-02-05 10:24:16 -0800
commited15efeedd33bbdbadfafabc812d70a792a9a06c (patch)
tree187d8cdd828369022d406e517d92be1f85ab2443 /src/binaryen-c.cpp
parent845e0700c99d603c920d82c2312ec9b39a555c68 (diff)
downloadbinaryen-ed15efeedd33bbdbadfafabc812d70a792a9a06c.tar.gz
binaryen-ed15efeedd33bbdbadfafabc812d70a792a9a06c.tar.bz2
binaryen-ed15efeedd33bbdbadfafabc812d70a792a9a06c.zip
[Parser] Templatize lexing of integers (#6272)
Have a single implementation for lexing each of unsigned, signed, and uninterpreted integers, each generic over the bit width of the integer. This reduces duplication in the existing code and it will make it much easier to support lexing more 8- and 16-bit integers.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions