From: wolf Date: Fri, 5 May 2000 13:27:33 +0000 (+0000) Subject: Catch default template args more often. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f797821b4a060d04380f16e4e9e2d53f294ce1b0;p=dealii-svn.git Catch default template args more often. git-svn-id: https://svn.dealii.org/trunk@2795 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/scripts/forward_declarations.pl b/deal.II/common/scripts/forward_declarations.pl index 458700df62..34f4f3f9e6 100644 --- a/deal.II/common/scripts/forward_declarations.pl +++ b/deal.II/common/scripts/forward_declarations.pl @@ -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