diff options
author | Murray Cumming <murrayc@murrayc.com> | 2014-03-28 10:18:34 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2014-03-28 10:18:34 +0100 |
commit | b8a81fd9ab5b3326bdab8f18734bd81302c422bf (patch) | |
tree | acd2117415ea55a06a82f525e9b2cd02d33f7875 | |
parent | b05264b38ecfa9cc99cb06d72c35d9faaa51aeac (diff) | |
download | glibmm-b8a81fd9ab5b3326bdab8f18734bd81302c422bf.tar.gz |
h2def.py: clean_func() also strip *_DEPRECATE_IN_*_FOR () without a space.
* tools/defs_gen/h2def.py: Because clutter has lines such as this:
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate and ClutterActor:depth)
without a space after the FOR.
-rwxr-xr-x | tools/defs_gen/h2def.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/defs_gen/h2def.py b/tools/defs_gen/h2def.py index 3ffbd7cb..3d877815 100755 --- a/tools/defs_gen/h2def.py +++ b/tools/defs_gen/h2def.py @@ -305,7 +305,7 @@ def clean_func(buf): buf = pat.sub('', buf) #strip *_DEPRECATED_IN_*_FOR (*): - pat = re.compile(r"""[A-Z]+_DEPRECATED_IN_[1-9]_([1-9]*)_FOR \(\S*\)\S*""", re.MULTILINE) + pat = re.compile(r"""[A-Z]+_DEPRECATED_IN_[1-9]_([1-9]*)_FOR\s*\(\S*\)\S*""", re.MULTILINE) buf = pat.sub('', buf) #strip *_DEPRECATED* |