From: wolf Date: Tue, 23 Feb 1999 17:31:32 +0000 (+0000) Subject: Adapt script to Guido's style of putting the open-brace after a class X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47774b38218a3a3e3cb2c6245e16ff517fed4b1d;p=dealii-svn.git Adapt script to Guido's style of putting the open-brace after a class declaration on the next line. git-svn-id: https://svn.dealii.org/trunk@887 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/Make_forward_declarations b/deal.II/deal.II/Make_forward_declarations index bc6748a345..5c8ddbe956 100644 --- a/deal.II/deal.II/Make_forward_declarations +++ b/deal.II/deal.II/Make_forward_declarations @@ -55,8 +55,8 @@ sub parse_class_declarations { $rest = $6; # we look for declarations, where after the name comes a colon - # or an open-brace - if ($rest =~ /^\s*[:\{;]/) { + # or an open-brace, maybe also a semicolon or just nothing + if (($rest =~ /^\s*[:\{;]/) || ($rest =~ /^\s*$/)) { # print "$_"; print "$basepart $name;\n"; }