]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove the template keyword from the stored template arg list.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 14 Nov 2000 17:51:24 +0000 (17:51 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 14 Nov 2000 17:51:24 +0000 (17:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@3490 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/kdoc/src/kdoc

index 7f04736c6bd596671576cbb9f45940e774010711..667ef7d7ec01458b0cfecddff301bb1ca8760300 100755 (executable)
@@ -618,6 +618,8 @@ sub identifyDecl
 
                my @inherits = ();
 
+               # remove `template' keyword, as well as angle brackets
+               $tmpl =~ s/^\s*template\s*// if $tmpl ne "";
                $tmpl =~ s/<(.*)>/$1/ if $tmpl ne "";
 
                if(  $rest =~ /^\s*:\s*/ ) {

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.