summaryrefslogtreecommitdiffhomepage
path: root/test-lexer.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-02-20 23:26:57 +0100
committerRoland Reichwein <mail@reichwein.it>2020-02-20 23:26:57 +0100
commit10c2b7f9b6676dafd62d0eeda507b5ee5c6db216 (patch)
tree705885f41d9224e8678578e99db9f80af8136e94 /test-lexer.cpp
parentba8520d3435c75c2568c05f1333966a4c1a4d69b (diff)
Grammar applied to lex (WIP)
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 b0706df..79b9930 100644
--- a/test-lexer.cpp
+++ b/test-lexer.cpp
@@ -88,7 +88,7 @@ TEST_F(Test, BNF) {
auto tokens = lexer.Lex(Code);
ASSERT_EQ(tokens, tokens_reference);
-#if 1
+#if 0 // TODO: use Debug() interface
std::cout << "=== Tokens =================================" << std::endl;
for (const auto& i: tokens) {
std::cout << i.type << ": " << i.value << std::endl;