summaryrefslogtreecommitdiffhomepage
path: root/lexer.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-01-22 20:57:54 +0100
committerRoland Reichwein <mail@reichwein.it>2020-01-22 20:57:54 +0100
commit3eff766ce1cbed5d3a3c3158614e6741cc1b7f2a (patch)
treea8151a50baec72bbc81fc8dfcaf476c7f0555693 /lexer.h
parentf4b2027868c9733bbbbcb4c5ec6d5462a8447e5d (diff)
Using namespace for disambiguation
Diffstat (limited to 'lexer.h')
-rw-r--r--lexer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lexer.h b/lexer.h
index c571294..c6576d0 100644
--- a/lexer.h
+++ b/lexer.h
@@ -3,6 +3,8 @@
#include "minicc.h"
#include "bnf.h"
+namespace Lex {
+
struct TreeNode {
index_t parent{};
std::vector<index_t> childs; // fill char by char
@@ -53,4 +55,4 @@ public:
};
-
+} // namespace Lex