From 9dec5a9a65ce55234f33d1bec2b08f479da71df8 Mon Sep 17 00:00:00 2001 From: kanschat Date: Tue, 21 Sep 2010 22:34:33 +0000 Subject: [PATCH] fix ignoring block comments git-svn-id: https://svn.dealii.org/trunk@22114 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/doxygen/tutorial/program2plain | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deal.II/doc/doxygen/tutorial/program2plain b/deal.II/doc/doxygen/tutorial/program2plain index cc08d1a2f0..92ca48494b 100644 --- a/deal.II/doc/doxygen/tutorial/program2plain +++ b/deal.II/doc/doxygen/tutorial/program2plain @@ -21,10 +21,11 @@ while (<>) { next if (m!^\s*//!); if (s!^\s*/\*.*\*/!!g) { - print unless m/^\s*$/; + print unless (m/^\s*$/); + next; } #Find begin of block comment - if (0 && s!/\*.*!!) + if (s!/\*.*!!) { $block_comment = 1; # Print unless empty @@ -40,8 +41,8 @@ while (<>) { $block_comment = 0; # Print unless empty print unless m/^\s*$/; - next; } + next; } print; } -- 2.39.5