From 6d59f31a80a4e8b900e7558d4a2842fd14e054d1 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Fri, 18 Oct 2024 00:46:17 -0600 Subject: [PATCH] decompctx: Permit comments after #include directives --- tools/decompctx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/decompctx.py b/tools/decompctx.py index 290946f..87cfb7e 100644 --- a/tools/decompctx.py +++ b/tools/decompctx.py @@ -23,7 +23,7 @@ include_dirs = [ # 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+(.*)$") defines = set()