Skip to content

Commit 6ac05e9

Browse files
committed
Enhanced logs
1 parent 5743d2a commit 6ac05e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/syntax/Syntax.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ namespace ecc{
4242

4343
bool Syntax::parseTokens(std::string fileName, std::vector<std::shared_ptr<LexicalToken>> &lexicalTokens) {
4444

45+
BOOST_LOG(ecc_logger::get()) << "Analyzing syntax in file: " << fileName;
4546
BOOST_LOG(ecc_logger::get()) << "Started parsing the lexical tokens [PHASE " << m_phase << "]";
4647

4748
// Prepare the stack
@@ -159,6 +160,7 @@ namespace ecc{
159160

160161
BOOST_LOG(ecc_logger::get()) << "Finished parsing the lexical tokens [PHASE " << m_phase << "]";
161162
BOOST_LOG(ecc_logger::get()) << (success ? "SUCCESS" : "FAILURE");
163+
BOOST_LOG(ecc_logger::get()) << "----------";
162164
return success;
163165
}
164166

0 commit comments

Comments
 (0)