aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.py b/configure.py
index 902a77312..5bebd78d1 100755
--- a/configure.py
+++ b/configure.py
@@ -2440,12 +2440,13 @@ def portable_symlink(file_path, target_dir, method):
class AmalgamationHelper(object):
- _any_include = re.compile(r'#include <(.*)>$')
- _botan_include = re.compile(r'#include <botan/(.*)>$')
+ # All include types may have trailing comment like e.g. '#include <vector> // IWYU pragma: export'
+ _any_include = re.compile(r'#include <(.*)>')
+ _botan_include = re.compile(r'#include <botan/(.*)>')
# Only matches at the beginning of the line. By convention, this means that the include
# is not wrapped by condition macros
- _unconditional_std_include = re.compile(r'^#include <([^/\.]+|stddef.h)>$')
+ _unconditional_std_include = re.compile(r'^#include <([^/\.]+|stddef.h)>')
@staticmethod
def is_any_include(cpp_source_line):