]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Adapt script to Guido's style of putting the open-brace after a class
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Feb 1999 17:31:32 +0000 (17:31 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Feb 1999 17:31:32 +0000 (17:31 +0000)
declaration on the next line.

git-svn-id: https://svn.dealii.org/trunk@887 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Make_forward_declarations

index bc6748a34541806454ceff8352197032f0d7c472..5c8ddbe9564ea15924622b09dba1bec7d4af4d15 100644 (file)
@@ -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";
            }

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.