From 6761e6e46210853fe06e36c1afd514d46f65a945 Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Thu, 3 Sep 2015 15:39:44 +1000 Subject: [PATCH] DumpConfig() function --- src/init.cpp | 7 +++++++ src/init.h | 1 + src/main.cpp | 7 ++----- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 44b96c9..2b2573b 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -53,3 +53,10 @@ int BuildDepTree(DepTree* deptree,std::set& used) { return deptree->CreateGlobalTree(used); } + +void DumpConfig() +{ + for(auto& i: G_vars) COUT(INFO)<Dump()<<";"<Dump()<<";"<Dump()<<";"<& used); +void DumpConfig(); #endif diff --git a/src/main.cpp b/src/main.cpp index 2a83dda..43b1283 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,7 +15,7 @@ int main(int argc, char** argv) COUT(INFO)<<"Ok"<