]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix one problem where doxygen gets confused about comment end markers.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Mar 2006 22:38:51 +0000 (22:38 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Mar 2006 22:38:51 +0000 (22:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@12651 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-2.step-by-step/program2doxygen

index a8023c70f7ba8e72447f1c99176ae9017fa5eb53..fa0846362515f2e4744067dc390438fad9fe4cb2 100644 (file)
@@ -20,7 +20,11 @@ $state =  $comment_mode;
 print " * \n";
 
 do {
-    # substitute special characters
+    # substitute tabs. also make sure that we don't output comment end
+    # markers that might confuse doxygen
+    s!/\*!/ \*!g;
+    s!\*/!\* /!g;
+
     s/\t/        /g;
 
     if (($state == $program_mode) && m!^\s*//!)

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.