Allow spaces after '#' character (#29)

This commit is contained in:
Steven Casper 2024-08-17 23:18:22 -04:00 committed by GitHub
parent d5df3db21f
commit 4b1995b381
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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