summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-31 11:05:05 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-31 11:05:05 -0700
commit3dd389f52b556530ec0514fac67277a41a21b47e (patch)
tree2a8b758162b5cadaf6004f3ebfe16e6bf11caf0a /src/parser.h
parent2824e966bb1dc9cbc90365b39000540f84fae82c (diff)
downloadbinaryen-3dd389f52b556530ec0514fac67277a41a21b47e.tar.gz
binaryen-3dd389f52b556530ec0514fac67277a41a21b47e.tar.bz2
binaryen-3dd389f52b556530ec0514fac67277a41a21b47e.zip
refactoring
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index 9f5b6c3a7..8ca07c6ed 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -3,6 +3,9 @@
// XXX All parsing methods assume they take ownership of the input string. This lets them reuse
// parts of it. You will segfault if the input string cannot be reused and written to.
+#ifndef __parser_h__
+#define __parser_h__
+
#include <vector>
#include <iostream>
#include <algorithm>
@@ -898,3 +901,5 @@ public:
} // namespace cashew
+#endif // __parser_h__
+