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:
parent
a7b67a2cac
commit
dc3102a535
4 changed files with 16 additions and 15 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue