diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-10-10 16:14:07 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-10-10 16:14:07 +0200 |
commit | 0c5a5a94dab6d19192946f0a57d920628823ece1 (patch) | |
tree | eb12563e98d453ae4997d9b99a99506011f34886 | |
parent | 2671f6800090affb2f89d5b2932df4450e1d7507 (diff) |
Uncommitted changes
-rw-r--r-- | cpp.cpp | 3 | ||||
-rw-r--r-- | test-cpp.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -227,7 +227,8 @@ std::vector<Gram::TreeNode> CPP::analysis(const std::vector<Token>& tokens) namespace { CPP::map_type map_translation_unit { - {"top-level-declaration-seq", [](){}} + //{"top-level-declaration-seq", [](){}}, + {"top-level-declaration-seq/top-level-declaration/declaration/function-definition", [](){}}, }; } // anonymous namespace diff --git a/test-cpp.cpp b/test-cpp.cpp index e5b2a1a..513a3a5 100644 --- a/test-cpp.cpp +++ b/test-cpp.cpp @@ -24,7 +24,7 @@ class CppTest: public ::testing::Test { protected: CppTest() { - //debug = true; + debug = true; } ~CppTest() { } |