From 3eff766ce1cbed5d3a3c3158614e6741cc1b7f2a Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Wed, 22 Jan 2020 20:57:54 +0100 Subject: Using namespace for disambiguation --- lexer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lexer.h') 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 childs; // fill char by char @@ -53,4 +55,4 @@ public: }; - +} // namespace Lex -- cgit v1.2.3