From 73a91091ca81c990bc9b7549e9276215534d3ec2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 5 May 2000 13:27:33 +0000 Subject: [PATCH] Catch default template args more often. git-svn-id: https://svn.dealii.org/trunk@2795 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/scripts/forward_declarations.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5