summaryrefslogtreecommitdiffhomepage
path: root/test-lexer.cpp
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 /test-lexer.cpp
parentf4b2027868c9733bbbbcb4c5ec6d5462a8447e5d (diff)
Using namespace for disambiguation
Diffstat (limited to 'test-lexer.cpp')
-rw-r--r--test-lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-lexer.cpp b/test-lexer.cpp
index 39db3ec..b76f4cc 100644
--- a/test-lexer.cpp
+++ b/test-lexer.cpp
@@ -76,7 +76,7 @@ TEST_F(Test, BNF) {
{"identifier", "XYZ", { 1, 34}},
};
- Lexer lexer(LexBNF, LexTop);
+ Lex::Lexer lexer(LexBNF, LexTop);
auto tokens = lexer.Lex(Code);
ASSERT_EQ(tokens, tokens_reference);