From 10c2b7f9b6676dafd62d0eeda507b5ee5c6db216 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 20 Feb 2020 23:26:57 +0100 Subject: Grammar applied to lex (WIP) --- test-lexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-lexer.cpp') 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; -- cgit v1.2.3