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 | dc15972a98d7b60bd81f9a6b456ecccaeb7c654d (patch) | |
tree | 1bb62d4a902388d4a0440c4524ab838a03aee9ea /waflib/Tools/winres.py | |
parent | ccc9b971ab206fa3dc32a432a3e76db976192f58 (diff) | |
parent | 8cb9c6430dc0056f8d40b4d8e0bdc616ff397e1f (diff) | |
download | ganv-dc15972a98d7b60bd81f9a6b456ecccaeb7c654d.tar.gz ganv-dc15972a98d7b60bd81f9a6b456ecccaeb7c654d.tar.bz2 ganv-dc15972a98d7b60bd81f9a6b456ecccaeb7c654d.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): |