summaryrefslogtreecommitdiff
path: root/src/wasm-binary-reader-ast.c
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2016-05-05 14:42:44 -0700
committerBen Smith <binji@chromium.org>2016-05-05 14:47:57 -0700
commitecc49ca5c193db3279a0adc8b9c7e2c631fa3ced (patch)
tree9526377ba65f60b644a1844c6ab2130326d04e12 /src/wasm-binary-reader-ast.c
parent8f0ab76f7b898f257e09f32f6a8655e56fb08539 (diff)
downloadwabt-ecc49ca5c193db3279a0adc8b9c7e2c631fa3ced.tar.gz
wabt-ecc49ca5c193db3279a0adc8b9c7e2c631fa3ced.tar.bz2
wabt-ecc49ca5c193db3279a0adc8b9c7e2c631fa3ced.zip
fix bug when displaying source lines for errors
When scanning for the the file offset of a source line, when the source is a file, it reuses the same code for scanning a memory buffer. If the line is not found in the buffer, it returns WASM_ERROR, which is expected. But it also needs to update the currently found line, so we can keep scanning.
Diffstat (limited to 'src/wasm-binary-reader-ast.c')
0 files changed, 0 insertions, 0 deletions