Skip to content

Commit

Permalink
Merge pull request #428 from s-hadinger/coc_parse_h
Browse files Browse the repository at this point in the history
coc parses header files
  • Loading branch information
skiars authored Jun 11, 2024
2 parents 2344226 + 86ec039 commit f182aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/coc/coc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class builder:
sb.build(self.output)

def parse_file(self, filename):
if re.search(r"\.(c|cc|cpp)$", filename):
if re.search(r"\.(h|c|cc|cpp)$", filename):
# print(f"> parse {filename}")
text = ""
with open(filename) as f:
Expand Down

0 comments on commit f182aac

Please sign in to comment.