summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
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__
+