Skip to content

Commit

Permalink
Merge pull request #211 from shaoxc/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskermode authored Mar 23, 2024
2 parents 6297818 + 8454c5a commit c98885a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/derivedtypes_procedure/library.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module test
implicit none

private
public :: atype, btype
public atype, btype
public :: create, asum
public :: asum_class

Expand Down
4 changes: 2 additions & 2 deletions f90wrap/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@

valid_dim_re = re.compile(r'^(([-0-9.e]+)|(size\([_a-zA-Z0-9\+\-\*\/]*\))|(len\(.*\)))$', re.IGNORECASE)

public = re.compile('(^public$)|(^public\s*(\w+)\s*$)|(^public\s*::\s*(\w+)(\s*,\s*\w+)*$)', re.IGNORECASE)
private = re.compile('(^private$)|(^private\s*(\w+)\s*$)|(^private\s*::\s*(\w+)(\s*,\s*\w+)*$)', re.IGNORECASE)
public = re.compile('(^public$)|(^public\s*(::)?\s*(\w+)(\s*,\s*\w+)*$)', re.IGNORECASE)
private = re.compile('(^private$)|(^private\s*(::)?\s*(\w+)(\s*,\s*\w+)*$)', re.IGNORECASE)

rmspace = re.compile(r'(\w+)\s+\(', re.IGNORECASE)
def remove_delimited(line, d1, d2):
Expand Down

0 comments on commit c98885a

Please sign in to comment.