diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-03-23 22:02:40 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-03-23 22:02:40 +0100 |
commit | fce1c18103f208857af477ca47af9aa908bd69b6 (patch) | |
tree | 3d0affeca1328825e81be8950f19e956f39ab213 /test-cpp.cpp | |
parent | 365183e243d164185bca6ad9fa4e0d75664800f4 (diff) |
Helper functions for grammer
Diffstat (limited to 'test-cpp.cpp')
-rw-r--r-- | test-cpp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |