Merge pull request #1788 from mcfarljm/Issue-1757
Fix for missing space after \endlink in doxygen
This commit is contained in:
commit
f68d0c6da3
5 changed files with 9 additions and 5 deletions
|
|
@ -36,7 +36,7 @@
|
|||
* @param line line number
|
||||
* @param isGetSize if set, for every object location both address and size are returned
|
||||
*
|
||||
* @link Connection::getId() @endlink <br>
|
||||
* @link Connection::getId() @endlink<br>
|
||||
*/
|
||||
void getAddress(int &fileName,
|
||||
int line,
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
* used for unspecified parameters.
|
||||
* <p>
|
||||
*
|
||||
* @link advancedWinIDEALaunching.py Python example.@endlink <br>
|
||||
* @link advancedWinIDEALaunching.py Python example.@endlink<br>
|
||||
*/
|
||||
class CConnectionConfig
|
||||
{
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ void func05(int a)
|
|||
*
|
||||
* \line example
|
||||
*
|
||||
* \link someMember Some description follows \endlink
|
||||
* \link someMember Some description follows\endlink with text after
|
||||
*
|
||||
* \mainpage Some title
|
||||
*
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ public class doxygen_translate_all_tags_runme {
|
|||
" </li><li>With lots of items \n" +
|
||||
" </li><li>lots of lots of items \n" +
|
||||
" </li></ul> \n" +
|
||||
" {@link someMember Some description follows }\n" +
|
||||
" {@link someMember Some description follows} with text after\n" +
|
||||
" This will only appear in man\n");
|
||||
|
||||
wantedComments.put("doxygen_translate_all_tags.doxygen_translate_all_tags.func07(int, int, int, int)",
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ This will only appear in LATeX
|
|||
|
||||
|
||||
|
||||
someMember Some description follows
|
||||
someMember Some description follows with text after
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1196,6 +1196,10 @@ void DoxygenParser::processWordCommands(size_t &pos, const std::string &line) {
|
|||
// do it every time.)
|
||||
if (getBaseCommand(cmd) == CMD_CODE) skipLeadingSpace = true;
|
||||
else skipLeadingSpace = false;
|
||||
} else if (cmd.substr(0,3) == "end") {
|
||||
// If processing an "end" command such as "endlink", don't skip
|
||||
// the space before the next string
|
||||
skipLeadingSpace = false;
|
||||
}
|
||||
|
||||
if (skipLeadingSpace) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue