summaryrefslogtreecommitdiffstats
path: root/waflib/Tools/winres.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:31:05 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 18:14:27 +0100
commitf164950f61a0dad02a1bce247087a0323eeab322 (patch)
tree4aed405b97428001f6396e1d23ccb218ce620000 /waflib/Tools/winres.py
parentdb07a21d4848455580d6c58ce32128266dd4f47f (diff)
parent406f89271452fdb573c7e28113b1ed08ff2b4eda (diff)
downloadsuil-f164950f61a0dad02a1bce247087a0323eeab322.tar.gz
suil-f164950f61a0dad02a1bce247087a0323eeab322.tar.bz2
suil-f164950f61a0dad02a1bce247087a0323eeab322.zip
Update autowaf and adapt to new API
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):