From c4f763af08f50baa08328569d7d5c45a2b5b9218 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 19 Mar 1999 17:21:15 +0000 Subject: [PATCH] Allow templates and :: in variable names. git-svn-id: https://svn.dealii.org/trunk@1024 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/auto/scripts/kdoc/kdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/doc/auto/scripts/kdoc/kdoc b/deal.II/doc/auto/scripts/kdoc/kdoc index 7307f6dd22..794a41c4fa 100644 --- a/deal.II/doc/auto/scripts/kdoc/kdoc +++ b/deal.II/doc/auto/scripts/kdoc/kdoc @@ -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 -- 2.39.5