aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/Tools/winres.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:31:04 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 18:14:27 +0100
commita065b13b94e2f08eddbec9a64d97c653618e7207 (patch)
treef3727071015b4c8034c756d466d6f1d37d0b3683 /waflib/Tools/winres.py
parentd4a49fff9bbc610705b6292a069ae8fa72bb6e03 (diff)
parent06b859ac10d84580a21a912c75c37c73b9d65d2f (diff)
downloadmda.lv2-master.tar.gz
mda.lv2-master.tar.bz2
mda.lv2-master.zip
Update autowaf and adapt to new APIHEADmaster
Diffstat (limited to 'waflib/Tools/winres.py')
-rw-r--r--waflib/Tools/winres.py4
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):