summaryrefslogtreecommitdiff
path: root/src/shell-interface.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-12 17:18:55 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-12 17:18:55 -0700
commitf518f097c80c0659fbacf11fe12f89955093282b (patch)
treed26db91c5767989b3f824a0bbcf30a02259fb656 /src/shell-interface.h
parentd84fd5be60d4ead6bc9fbb3f27a710bef0c688c8 (diff)
parentc8293a3f9112ad486f6f3639fc5680d73e7559ca (diff)
downloadbinaryen-f518f097c80c0659fbacf11fe12f89955093282b.tar.gz
binaryen-f518f097c80c0659fbacf11fe12f89955093282b.tar.bz2
binaryen-f518f097c80c0659fbacf11fe12f89955093282b.zip
Merge pull request #488 from WebAssembly/error_reporting
Better error reporting
Diffstat (limited to 'src/shell-interface.h')
-rw-r--r--src/shell-interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shell-interface.h b/src/shell-interface.h
index 4e56bb8e1..b87460a48 100644
--- a/src/shell-interface.h
+++ b/src/shell-interface.h
@@ -18,6 +18,9 @@
// Implementation of the shell interpreter execution environment
//
+#ifndef wasm_shell_interface_h
+#define wasm_shell_interface_h
+
#include "asmjs/shared-constants.h"
#include "wasm.h"
#include "wasm-interpreter.h"
@@ -26,7 +29,6 @@ namespace wasm {
struct ExitException {};
struct TrapException {};
-struct ParseException {};
struct ShellExternalInterface : ModuleInstance::ExternalInterface {
// The underlying memory can be accessed through unaligned pointers which
@@ -177,3 +179,5 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface {
};
}
+
+#endif // wasm_shell_interface_h