diff options
author | William Deegan <bill@baddogconsulting.com> | 2023-01-29 00:52:07 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2023-01-29 00:52:07 (GMT) |
commit | a220b3f5989db0696d9d03a0988cbcff60e90e59 (patch) | |
tree | f8cce0c05888743c2337bbc1a7a066c056165e4b /SCons/cpp.py | |
parent | e980c5bc26892ce4db1e45516e9983bbc6a2bd33 (diff) | |
parent | 04bc3eaab31c5437764b10ee942b19740b5139c9 (diff) | |
download | SCons-a220b3f5989db0696d9d03a0988cbcff60e90e59.zip SCons-a220b3f5989db0696d9d03a0988cbcff60e90e59.tar.gz SCons-a220b3f5989db0696d9d03a0988cbcff60e90e59.tar.bz2 |
Merge remote-tracking branch 'upstream/master' into fix_configure_marking_up_to_date
Diffstat (limited to 'SCons/cpp.py')
-rw-r--r-- | SCons/cpp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SCons/cpp.py b/SCons/cpp.py index 353aa70..144f498 100644 --- a/SCons/cpp.py +++ b/SCons/cpp.py @@ -591,6 +591,9 @@ class PreProcessor: while not s[0] in '<"': try: s = self.cpp_namespace[s] + # strip backslashes from the computed include (-DFOO_H=\"foo.h\") + for c in '<">': + s = s.replace(f"\\{c}", c) except KeyError: m = function_name.search(s) |