decompctx: Permit comments after #include directives

This commit is contained in:
Luke Street 2024-10-18 00:46:17 -06:00
parent c6dc39414b
commit 6d59f31a80
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ include_dirs = [
# Add additional include directories here # Add additional include directories here
] ]
include_pattern = re.compile(r'^#\s*include\s*[<"](.+?)[>"]$') include_pattern = re.compile(r'^#\s*include\s*[<"](.+?)[>"]')
guard_pattern = re.compile(r"^#\s*ifndef\s+(.*)$") guard_pattern = re.compile(r"^#\s*ifndef\s+(.*)$")
defines = set() defines = set()