]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow templates and :: in variable names.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Mar 1999 17:21:15 +0000 (17:21 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Mar 1999 17:21:15 +0000 (17:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@1024 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/auto/scripts/kdoc/kdoc

index 7307f6dd22af429f84283ef4be15134efff867a1..794a41c4fa84bf47a2fc55015e2f01fed7c199af 100644 (file)
@@ -445,8 +445,8 @@ sub processClass
 
 
        #### Variables
-       elsif ( /^[^\(]*$/ && /^[\w_\:\s]+[\&\s*]+[\w_]+\s*(\[[^\]]*\])*\s*;\s*(\/\/.*)?$/ )
-           #       1               2        3      4           5                 6
+       elsif ( /^[^\(]*$/ && /^(?:[\w_\:\s]+(?:<(?:(?:[-\w,_\s]|<(?:[-\w,+\s])+>)+)>)?(?:::)?)[\&\s*]+[\w_]+\s*(\[[^\]]*\])*\s*;\s*(\/\/.*)?$/ )
+           #       1               2                                                            3      4           5                 6
            # 1: variable declarations have no ()
            # 2: data type, possibly several words as in 'unsigned int'
            # 3: reference pointer or at least a space before variable 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.