Skip to content

Commit b66328b

Browse files
committed
Adjust to recent phnt changes
1 parent eb158c8 commit b66328b

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
@@ -280,7 +280,7 @@ def get_chunk_identifiers(chunk: str) -> List[str]:
280280

281281
assert not chunk.startswith('typedef '), chunk
282282

283-
if match := re.search(r'(?:NTAPI|NTAPI_INLINE)\n(\w+)\s*\(', chunk):
283+
if match := re.search(r'(?:NTAPI|NTAPI_INLINE)\s+(\w+)\s*\(', chunk):
284284
return [match.group(1)]
285285

286286
assert 'NTAPI' not in chunk, chunk

0 commit comments

Comments
 (0)