]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed perl regex. 6580/head
authorLuca Heltai <luca.heltai@sissa.it>
Thu, 10 May 2018 14:39:08 +0000 (16:39 +0200)
committerMatthias Maier <tamiko@43-1.org>
Fri, 11 May 2018 14:41:25 +0000 (09:41 -0500)
doc/doxygen/scripts/program2doxygen

index f2c27cda77abbd87add569114aabcfc5c233cb23..3fc114e0c40fdc8bf2dacb35b9a0830a3a9dad51 100644 (file)
@@ -138,10 +138,10 @@ do {
         }
         # in code fragment mode: only skip leading whitespace and
         # comment // signs
-        s!\s*//\s(.*)\n!$1!;
+        s!^\s*//(.*)\n!$1!;
 
         # finally print this line
-        print " * $_\n";
+        print " *$_\n";
 
         if (m!^ *\s*\@endcode!)
         {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.