summaryrefslogtreecommitdiff
path: root/src/binary-reader-interpreter.cc
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-06-02 13:35:24 -0700
committerGitHub <noreply@github.com>2017-06-02 13:35:24 -0700
commit3c6c7a83c5bcf4f6654d4646652ace2c1468f0fb (patch)
treee595fdac4cfb86796b50db01f0a807a451b1cfcb /src/binary-reader-interpreter.cc
parentc37a2d912e83f9298c64c61e1e92aff8042566e1 (diff)
downloadwabt-3c6c7a83c5bcf4f6654d4646652ace2c1468f0fb.tar.gz
wabt-3c6c7a83c5bcf4f6654d4646652ace2c1468f0fb.tar.bz2
wabt-3c6c7a83c5bcf4f6654d4646652ace2c1468f0fb.zip
Cleanup Lexer (#466)
* Add class LexerSource: it encapsulates reading data from a source, either buffer or file. * Add class LexerSourceLineFinder: it uses a LexerSource to read a line from the source for displaying in errors. It lazily caches line numbers -> file offsets, so no work is done unless an error occurs. * Make WastLexer a class instead of a struct.
Diffstat (limited to 'src/binary-reader-interpreter.cc')
0 files changed, 0 insertions, 0 deletions