From 0c5a5a94dab6d19192946f0a57d920628823ece1 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 10 Oct 2020 16:14:07 +0200 Subject: Uncommitted changes --- cpp.cpp | 3 ++- test-cpp.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp.cpp b/cpp.cpp index 27f8570..48bf764 100644 --- a/cpp.cpp +++ b/cpp.cpp @@ -227,7 +227,8 @@ std::vector CPP::analysis(const std::vector& 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() { } -- cgit v1.2.3