From d2504cd4ed7c4183a500ced130c7078fa6647924 Mon Sep 17 00:00:00 2001
From: Mathieu Courtois <mathieu.courtois@edf.fr>
Date: Thu, 10 Oct 2024 07:40:00 +0200
Subject: [PATCH] [#34017] complete list with defined types

---
 lib/aslint/fortran/free/regexp.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/aslint/fortran/free/regexp.py b/lib/aslint/fortran/free/regexp.py
index 5ee6443c..c1ff55c1 100644
--- a/lib/aslint/fortran/free/regexp.py
+++ b/lib/aslint/fortran/free/regexp.py
@@ -14,7 +14,9 @@ DECL_ATTRS = '|'.join(['allocatable', 'pointer', 'automatic', 'private',
 
 # regular expressions to match declarations
 DECLS = "(?P<decltype>(recursive|integer|logical|real|complex|character|" \
-        "aster_logical|PetscInt|PetscScalar|mpi_int)) *" \
+        "aster_int|aster_logical|mpi_int|mpi_bool|" \
+        "blas_int|hid_t|med_int|med_idt|mumps_int|" \
+        "petsc_int|PetscInt|PetscScalar)) *" \
         "(?P<declsize>(|\( *(kind|len) *= *(?P<declkind>[\w\*]+) *\)))" \
         "(|(?P<declattr>( *, *(%s))+))" % DECL_ATTRS
 DECLS_TYPE = "(?P<decltype>type *\(\w+ *\))" \
-- 
GitLab