From a18b153e1940b6e1504084c60f3feca46dfa2870 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 12 May 2016 14:35:58 -0700 Subject: use exceptions consistently to report input errors --- src/wasm-as.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-as.cpp') diff --git a/src/wasm-as.cpp b/src/wasm-as.cpp index eb03f853a..6995859a7 100644 --- a/src/wasm-as.cpp +++ b/src/wasm-as.cpp @@ -49,7 +49,7 @@ int main(int argc, const char *argv[]) { if (options.debug) std::cerr << "w-parsing..." << std::endl; Module wasm; - SExpressionWasmBuilder builder(wasm, *root[0], [&]() { abort(); }); + SExpressionWasmBuilder builder(wasm, *root[0]); if (options.debug) std::cerr << "binarification..." << std::endl; BufferWithRandomAccess buffer(options.debug); -- cgit v1.2.3