]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Catch default template args more often.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 May 2000 13:27:33 +0000 (13:27 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 May 2000 13:27:33 +0000 (13:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@2795 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/forward_declarations.pl

index 458700df62e016510c35d1456c582c8f58e951d9..34f4f3f9e6d8ee9b6f639ab68727b0b18c40649c 100644 (file)
@@ -99,7 +99,7 @@ sub parse_class_declarations {
                $declaration =~ s/\s+$//g;
 
                # strip default template parameters
-               while ( $declaration =~ s/<(.*)=\s[-\w,_\s]+(<[^.]*>)?(.*)>/<$1 $3 > / ) {
+               while ( $declaration =~ s/<(.*)=\s*[-\w,_\s]+(<[^.]*>)?(.*)>/<$1 $3 > / ) {
                }
 
                # impose a negativ-list of names we do not want to

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.