Add Doxygen test for constant and fix JavaDoc indentation

This commit is contained in:
William S Fulton 2018-06-16 22:36:08 +01:00
commit ecc66fdcbd
3 changed files with 9 additions and 1 deletions

View file

@ -1558,7 +1558,7 @@ public:
// Translate and write javadoc comment if flagged
if (doxygen && doxygenTranslator->hasDocumentation(n)) {
String *doxygen_comments = doxygenTranslator->getDocumentation(n, 0);
String *doxygen_comments = doxygenTranslator->getDocumentation(n, " ");
if (comment_creation_chatter)
Printf(constants_code, "/* This was generated from constantWrapper() */\n");
Printv(constants_code, Char(doxygen_comments), NIL);