Skip to content

Commit 91c2431

Browse files
committed
Adjust to recent phnt changes
1 parent 5b39779 commit 91c2431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate_docs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def get_chunk_identifiers(chunk: str) -> List[str]:
271271

272272
# Example:
273273
# typedef PVOID SAM_HANDLE, *PSAM_HANDLE;
274-
if match := re.match(r'^typedef(?:\s+(?:const|signed|unsigned|\[public\]|_W64|_Null_terminated_))*\s+\w+(?: const| UNALIGNED)*(.*?)(?:\[.*?\])?;$', chunk):
274+
if match := re.match(r'^typedef(?:\s+(?:const|CONST|signed|unsigned|\[public\]|_W64|_Null_terminated_))*\s+\w+(?: const| CONST| UNALIGNED)*(.*?)(?:\[.*?\])?;$', chunk):
275275
idents = match.group(1).split(',')
276276
idents = [x.lstrip('* ').rstrip() for x in idents]
277277
assert len(idents) > 0, chunk

0 commit comments

Comments
 (0)