From: Wolfgang Bangerth Date: Fri, 5 May 2000 13:27:33 +0000 (+0000) Subject: Catch default template args more often. X-Git-Tag: v8.0.0~20608 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73a91091ca81c990bc9b7549e9276215534d3ec2;p=dealii.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