diff options
-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() { } |