Skip to content

Commit

Permalink
Skip skipped types
Browse files Browse the repository at this point in the history
  • Loading branch information
krystophny committed Nov 28, 2024
1 parent b823762 commit f89315c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions f90wrap/fortran.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit f89315c

Please sign in to comment.