Skip to content

Commit ff6b532

Browse files
committed
Consistency in used debug terminology
On all places when the lex parser ends the term "Finished" is used except for the settings in `layout.cpp` and `tagreader.cpp` when addressing the `libxml/xml.l` parser. This has been made consistent.
1 parent e144254 commit ff6b532

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/layout.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ void LayoutDocManager::init()
15751575
QCString layout_default = ResourceMgr::instance().getAsString(layoutFile);
15761576
parser.parse(layoutFile,layout_default.data(),Debug::isFlagSet(Debug::Lex_xml),
15771577
[&]() { DebugLex::print(Debug::Lex_xml,"Entering","libxml/xml.l",layoutFile); },
1578-
[&]() { DebugLex::print(Debug::Lex_xml,"Leaving", "libxml/xml.l",layoutFile); }
1578+
[&]() { DebugLex::print(Debug::Lex_xml,"Finished", "libxml/xml.l",layoutFile); }
15791579
);
15801580
}
15811581

@@ -1621,7 +1621,7 @@ void LayoutDocManager::parse(const QCString &fileName)
16211621
layoutParser.setDocumentLocator(&parser);
16221622
parser.parse(fileName.data(),fileToString(fileName).data(),Debug::isFlagSet(Debug::Lex_xml),
16231623
[&]() { DebugLex::print(Debug::Lex_xml,"Entering","libxml/xml.l",qPrint(fileName)); },
1624-
[&]() { DebugLex::print(Debug::Lex_xml,"Leaving", "libxml/xml.l",qPrint(fileName)); }
1624+
[&]() { DebugLex::print(Debug::Lex_xml,"Finished", "libxml/xml.l",qPrint(fileName)); }
16251625
);
16261626
}
16271627

src/tagreader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ void parseTagFile(const std::shared_ptr<Entry> &root,const char *fullName)
17011701
tagFileParser.setDocumentLocator(&parser);
17021702
parser.parse(fullName,inputStr.data(),Debug::isFlagSet(Debug::Lex_xml),
17031703
[&]() { DebugLex::print(Debug::Lex_xml,"Entering","libxml/xml.l",fullName); },
1704-
[&]() { DebugLex::print(Debug::Lex_xml,"Leaving", "libxml/xml.l",fullName); }
1704+
[&]() { DebugLex::print(Debug::Lex_xml,"Finished", "libxml/xml.l",fullName); }
17051705
);
17061706
tagFileParser.buildLists(root);
17071707
tagFileParser.addIncludes();

0 commit comments

Comments
 (0)