[glibmm] gmmproc: Add a blank line after @deprecated and @newin



commit 3103d0c58463f07c5950acb3796dc06db3bd3e1d
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Mon Jun 2 16:06:16 2014 +0200

    gmmproc: Add a blank line after @deprecated and @newin
    
    * tools/pm/DocsParser.pm: A blank line after @deprecated and @newin tells
    Doxygen where the accompanying text paragraph ends.

 tools/pm/DocsParser.pm |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tools/pm/DocsParser.pm b/tools/pm/DocsParser.pm
index 854502d..c771fc3 100644
--- a/tools/pm/DocsParser.pm
+++ b/tools/pm/DocsParser.pm
@@ -335,11 +335,14 @@ sub lookup_documentation($$;$)
   }
 
   DocsParser::convert_docs_to_cpp($objFunction, \$text);
+  # A blank line, marking the end of a paragraph, is needed after @newin.
+  # Most @newins are at the end of a function description.
+  $text .= "\n";
 
   #Add note about deprecation if we have specified that in our _WRAP_METHOD() call:
   if($deprecation_docs ne "")
   {
-    $text .= "\n\ deprecated $deprecation_docs";
+    $text .= "\n\ deprecated $deprecation_docs\n";
   }
 
   DocsParser::append_parameter_docs($objFunction, \$text, $objCppfunc);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]