From 6ac05e908e9a4fa63e2a30a6914dbd9fbf9cabe0 Mon Sep 17 00:00:00 2001 From: Amir Bawab Date: Sat, 15 Jul 2017 14:54:04 -0400 Subject: [PATCH] Enhanced logs --- src/syntax/Syntax.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/syntax/Syntax.cpp b/src/syntax/Syntax.cpp index 4c6618a..845a758 100644 --- a/src/syntax/Syntax.cpp +++ b/src/syntax/Syntax.cpp @@ -42,6 +42,7 @@ namespace ecc{ bool Syntax::parseTokens(std::string fileName, std::vector> &lexicalTokens) { + BOOST_LOG(ecc_logger::get()) << "Analyzing syntax in file: " << fileName; BOOST_LOG(ecc_logger::get()) << "Started parsing the lexical tokens [PHASE " << m_phase << "]"; // Prepare the stack @@ -159,6 +160,7 @@ namespace ecc{ BOOST_LOG(ecc_logger::get()) << "Finished parsing the lexical tokens [PHASE " << m_phase << "]"; BOOST_LOG(ecc_logger::get()) << (success ? "SUCCESS" : "FAILURE"); + BOOST_LOG(ecc_logger::get()) << "----------"; return success; }