]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow multiply nested types.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 May 2001 10:50:13 +0000 (10:50 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 May 2001 10:50:13 +0000 (10:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@4576 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/kdoc/src/kdoc

index a7b2e8483481ec6f623d37c1720c2389d1661d62..7992f246ea0ea12697dbbd93c05544c7c3b0d6cd 100755 (executable)
@@ -697,7 +697,7 @@ sub identifyDecl
                                \s*(?:<.+>)?            # template
                                                        # check for nested types
                                 \s*(?:::[\w_:]+(?:\s+[\w_:]+)*?
-                                      \s*(?:<.+>)?)
+                                      \s*(?:<.+>)?)*
                                \s*(?:[\&\*])?          # ptr or ref
                                (?:\s*(?:const|volatile))* )
                        \s*([\w_:]+)                    # name
@@ -727,7 +727,7 @@ sub identifyDecl
 
                                                # check for nested types
                                 \s*(?:::[\w_:]+(?:\s+[\w_:]+)*?
-                                      \s*(?:<.+>)?)
+                                      \s*(?:<.+>)?)*
                \s*( (?:\s*(?: [\&\*][\&\*\s]*)?        # ptr or ref
                        [\w_:]+)                                                # name
                \s*(?:\[[^\[\]]*\] (?:\s*\[[^\[\]]*\])*)? # array

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.