diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-02 19:57:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 19:57:14 (GMT) |
commit | eef7b2864d22780e470708d295bea609b43b2a26 (patch) | |
tree | faf2d849e6eb14fd42943dc320dce934ef4c09ea /addon | |
parent | e0fd6a110610179e47809ee74f1cb2f26b08c5f0 (diff) | |
parent | 77b4c3bc7cba2d06fa2c03fbf55f5da4f71eb72c (diff) | |
download | Doxygen-eef7b2864d22780e470708d295bea609b43b2a26.zip Doxygen-eef7b2864d22780e470708d295bea609b43b2a26.tar.gz Doxygen-eef7b2864d22780e470708d295bea609b43b2a26.tar.bz2 |
Merge pull request #8219 from analizo/fix-doxyparse-yaml-output-syntax
quotes added surrounding inheritance tokens on doxyparse output
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxyparse/doxyparse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp index d4abd3a..4235bf3 100644 --- a/addon/doxyparse/doxyparse.cpp +++ b/addon/doxyparse/doxyparse.cpp @@ -144,7 +144,7 @@ static void printInherits() { printf(" inherits:\n"); } static void printInheritance(std::string base_class) { - printf(" - %s\n", base_class.c_str()); + printf(" - \"%s\"\n", base_class.c_str()); } static void printDefines() { printf(" defines:\n"); @@ -361,7 +361,7 @@ static void classInformation(const ClassDef* cd) { if (!cd->baseClasses().empty()) { printInherits(); for (const auto &bcd : cd->baseClasses()) { - printInheritance(bcd.classDef->name().data()); + printInheritance(sanitizeString(bcd.classDef->name().data())); } } if(cd->isAbstract()) { |