]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix occurrence of 'typename' and of nested class type variables.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 May 2001 10:38:14 +0000 (10:38 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 May 2001 10:38:14 +0000 (10:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@4571 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/kdoc/src/kdoc

index 0d5597e846f02eca2f84f590fbb0010b0df8144d..ccf025c2d3e2d356f2a9ad578610917f8b528b09 100755 (executable)
@@ -692,8 +692,12 @@ sub identifyDecl
 
        # Single variable
        elsif ( $decl =~ /^
-                       \s*( (?:[\w_:]+(?:\s+[\w_:]+)*? )# type
+                       \s*(  (?:typename\s+)?          # possible typename keyword
+                              (?:[\w_:]+(?:\s+[\w_:]+)*? )# type
                                \s*(?:<.+>)?            # template
+                                                       # check for nested types
+                                \s*(?:::[\w_:]+(?:\s+[\w_:]+)*?
+                                      \s*(?:<.+>)?)
                                \s*(?:[\&\*])?          # ptr or ref
                                (?:\s*(?:const|volatile))* )
                        \s*([\w_:]+)                    # name

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.