Skip to content

Commit

Permalink
Merge branch 'BarnabyShearer_fix_expressions' into refresh-2021
Browse files Browse the repository at this point in the history
  • Loading branch information
trolldbois committed Feb 16, 2021
2 parents 175ff02 + 4708791 commit f4461aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctypeslib/codegen/codegenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,13 +916,13 @@ def generate_code(srcfiles,
# if we only want complete matches:
if match and match.group() == i.name:
todo.append(i)
break
continue
# if we follow our own documentation,
# allow regular expression match of any part of name:
match = s.search(i.name)
if match:
todo.append(i)
break
continue
if symbols or expressions:
items = todo

Expand Down

0 comments on commit f4461aa

Please sign in to comment.