Pass the node the Doxygen comment is attached to to DoxygenParser.

This will be needed to take into account various Doxygen-specific features
that can be attached to this node.
This commit is contained in:
Vadim Zeitlin 2014-08-26 17:45:59 +02:00
commit dc3102a535
4 changed files with 16 additions and 15 deletions

View file

@ -852,9 +852,7 @@ String *PyDocConverter::makeDocumentation(Node *n)
oneDoc = Char (comment);
Delete(comment);
} else {
std::list<DoxygenEntity> entityList = parser.createTree(
Char (documentation), Char (Getfile(documentation)),
Getline(documentation));
std::list<DoxygenEntity> entityList = parser.createTree(n, documentation);
DoxygenEntity root("root", entityList);
oneDoc = translateSubtree(root);
@ -908,9 +906,7 @@ String *PyDocConverter::makeDocumentation(Node *n)
pyDocString = Char (comment);
Delete(comment);
} else {
std::list<DoxygenEntity> entityList = parser.createTree(
Char (documentation), Char (Getfile(documentation)),
Getline(documentation));
std::list<DoxygenEntity> entityList = parser.createTree(n, documentation);
DoxygenEntity root("root", entityList);
pyDocString = translateSubtree(root);
}