From 3badb287a402116d196bcb611b5d7749d36c8166 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 16 Mar 2006 16:27:47 +0000 Subject: [PATCH] Make sure we don't confuse doxygen by printing /*...*/ comments. git-svn-id: https://svn.dealii.org/trunk@12625 0785d39b-7218-0410-832d-ea1e28bc413d --- .../doc/tutorial/chapter-2.step-by-step/program2doxyplain | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/program2doxyplain b/deal.II/doc/tutorial/chapter-2.step-by-step/program2doxyplain index dad1712324..4e216c2a11 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/program2doxyplain +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/program2doxyplain @@ -4,8 +4,13 @@ print "\n"; while (<>) { - # simply print non-comment lines and let doxygen do all the work + # simply print non-comment lines and let doxygen do all the work. + # the only thing we have to make sure is that if we copy /*...*/ + # comments that doxygen doesn't get confused; do so by simply + # adding a space if ( ! m!^\s*//! ) { + s!/\*!/ \*!g; + s!\*/!\* /!g; print " * $_"; } else { # for comments, all we do is replace section headers, and -- 2.39.5