From fce1c18103f208857af477ca47af9aa908bd69b6 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 23 Mar 2020 22:02:40 +0100 Subject: Helper functions for grammer --- test-cpp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test-cpp.cpp') diff --git a/test-cpp.cpp b/test-cpp.cpp index 2a67b38..6727966 100644 --- a/test-cpp.cpp +++ b/test-cpp.cpp @@ -30,7 +30,7 @@ protected: } }; -#if 1 +#if 0 TEST_F(CppTest, preprocessing_tokenize) { CPP cpp; auto pp_tokens = cpp.preprocessing_tokenize("int main() { return 1; }"); @@ -40,7 +40,7 @@ TEST_F(CppTest, preprocessing_tokenize) { auto tokens = cpp.tokens_from_pptokens(pp_tokens); ASSERT_EQ(tokens.size(), 9); -#if 0 +#if 1 for (auto &i: tokens) { std::cout << i.type << ": " << i.value << std::endl; } -- cgit v1.2.3