From f89315c152e4bc88a2540d3e72b33a3f01a20bd3 Mon Sep 17 00:00:00 2001 From: Christopher Albert Date: Thu, 28 Nov 2024 23:10:42 +0100 Subject: [PATCH] Skip skipped types --- f90wrap/fortran.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/f90wrap/fortran.py b/f90wrap/fortran.py index afebb67a..03547451 100644 --- a/f90wrap/fortran.py +++ b/f90wrap/fortran.py @@ -615,6 +615,8 @@ def find_types(tree, skipped_types=None): continue if node.type.startswith('class('): class_name = derived_typename(node.type) + if class_name in skipped_types: + continue if 'used_as_class' not in types[class_name].attributes: types[class_name].attributes.append('used_as_class')