diff options
author | David Robillard <d@drobilla.net> | 2019-03-17 17:31:03 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-17 18:14:27 +0100 |
commit | f15dd76e1bf5dfbb2b46d302efeaf120d0ba69b0 (patch) | |
tree | 3ee0b1e31255c1a35ebe08e8885f755d2563ac9b /waflib/Tools/winres.py | |
parent | 6ce4b684f8c2e3077ec145191b9ab902e30bafae (diff) | |
parent | ceefc55f3175d6201fb09aa8114916b249a5828d (diff) | |
download | lilv-f15dd76e1bf5dfbb2b46d302efeaf120d0ba69b0.tar.gz lilv-f15dd76e1bf5dfbb2b46d302efeaf120d0ba69b0.tar.bz2 lilv-f15dd76e1bf5dfbb2b46d302efeaf120d0ba69b0.zip |
Update autowaf and adapt to new API
Diffstat (limited to 'waflib/Tools/winres.py')
-rw-r--r-- | waflib/Tools/winres.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/waflib/Tools/winres.py b/waflib/Tools/winres.py index 586c596..9be1ed6 100644 --- a/waflib/Tools/winres.py +++ b/waflib/Tools/winres.py @@ -24,8 +24,8 @@ def rc_file(self, node): self.compiled_tasks = [rctask] re_lines = re.compile( - '(?:^[ \t]*(#|%:)[ \t]*(ifdef|ifndef|if|else|elif|endif|include|import|define|undef|pragma)[ \t]*(.*?)\s*$)|'\ - '(?:^\w+[ \t]*(ICON|BITMAP|CURSOR|HTML|FONT|MESSAGETABLE|TYPELIB|REGISTRY|D3DFX)[ \t]*(.*?)\s*$)', + r'(?:^[ \t]*(#|%:)[ \t]*(ifdef|ifndef|if|else|elif|endif|include|import|define|undef|pragma)[ \t]*(.*?)\s*$)|'\ + r'(?:^\w+[ \t]*(ICON|BITMAP|CURSOR|HTML|FONT|MESSAGETABLE|TYPELIB|REGISTRY|D3DFX)[ \t]*(.*?)\s*$)', re.IGNORECASE | re.MULTILINE) class rc_parser(c_preproc.c_parser): |