]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow ":" (and in particular "::") inside template type list.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 May 2001 12:59:38 +0000 (12:59 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 May 2001 12:59:38 +0000 (12:59 +0000)
git-svn-id: https://svn.dealii.org/branches/Branch-3-1@4520 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/forward_declarations.pl

index 3c81bdeab9c07fdd9bb5775ae71dd0f4cdd83fd9..6fc3a2fd80cc62a8ae8c0f3dfbc2fdd335cb0cd1 100644 (file)
@@ -76,8 +76,8 @@ sub parse_class_declarations {
 
        if ( /^\s*((template\s*<
                      (
-                        ([-\w,_=\s]   |
-                         <([-\w_,=\s])+>  )*
+                        ([-\w,_=:\s]   |
+                         <([-\w_,=:\s])+>  )*
                      )>\s*)?
                    (class|struct))(.*)/x ) {
            # this is the declaration of a class, possibly a template

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.