From 6b782523dbb17ce64de5b51ff1279da547bd1fd9 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 23 Mar 2001 08:55:50 +0000 Subject: [PATCH] Ignore comments at the beginning of the program altogether, i.e. copyright notices and CVS tags, not only the latter. git-svn-id: https://svn.dealii.org/trunk@4275 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/tutorial/chapter-2.step-by-step/program2html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/program2html b/deal.II/doc/tutorial/chapter-2.step-by-step/program2html index 40feee80e4..6e3c359e2c 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/program2html +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/program2html @@ -3,9 +3,10 @@ print "\n"; print "

The commented program

\n"; -# ignore cvs tag +# ignore comments at the start of the program. this includes CVS +# tags and copyright notices. $_ = <>; -while ( m!^/[/\*]+\s*.Id:!) { +while ( m!^/[/\*]!) { $_ = <>; } @@ -18,9 +19,6 @@ $state = $comment_mode; print "

\n"; while (<>) { - # ignore cvs tag - next if m!^/[/\*]+\s*.Id:!; - # substitute special characters s/&/&/g; s/