Skip to content

Commit

Permalink
python
Browse files Browse the repository at this point in the history
  • Loading branch information
sfomel committed Feb 21, 2025
1 parent 46423a6 commit d19ea5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/bldutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def __header(target=None,source=None,env=None):
out.write('#ifndef _' + define + '\n')
out.write('#define _' + define + '\n\n')
toheader = re.compile(r'\n((?:\n[^\n]+)+)\n'
'\s*\/\*(\^|\<(?:[^>]|\>[^*]|\>\*[^/])*\>)\*\/')
r'\s*\/\*(\^|\<(?:[^>]|\>[^*]|\>\*[^/])*\>)\*\/')
kandr = re.compile(r'\s*\{?\s*$') # K&R style function defs end with {
for extract in toheader.findall(text):
if extract[1] == '^':
Expand Down

0 comments on commit d19ea5a

Please sign in to comment.