summaryrefslogtreecommitdiffhomepage
path: root/grammer.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-01-22 20:59:15 +0100
committerRoland Reichwein <mail@reichwein.it>2020-01-22 20:59:15 +0100
commitf7cdbb6635d62a0347be579cb8dd6badec22956d (patch)
tree51e779573e62a2d29234ae35ff802de3e4f6b5e8 /grammer.h
parent3eff766ce1cbed5d3a3c3158614e6741cc1b7f2a (diff)
Namespace Gram
Diffstat (limited to 'grammer.h')
-rw-r--r--grammer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/grammer.h b/grammer.h
index 5e76c60..01ea681 100644
--- a/grammer.h
+++ b/grammer.h
@@ -3,6 +3,8 @@
#include "bnf.h"
#include "minicc.h"
+namespace Gram {
+
class Compiler
{
@@ -17,3 +19,4 @@ public:
ProgramNode compile(std::vector<Token> Tokens);
};
+} // namespace Gram