diff options
author | Xavier Ordoquy <xordoquy@wanadoo.fr> | 2004-02-22 13:20:20 +0000 |
---|---|---|
committer | Xavier Ordoquy <xordoquy@src.gnome.org> | 2004-02-22 13:20:20 +0000 |
commit | 9269ee7d39eecb344a39ddd17316cf21d29885dc (patch) | |
tree | 1dd6ce16047c49e1b32fabd93c39b86a93da9ce3 /codegen | |
parent | 6a7951921d5018ac4500a49388b7071620b902d4 (diff) | |
download | pygtk-9269ee7d39eecb344a39ddd17316cf21d29885dc.tar.gz |
don't expect a whitespace after the type name Fixes bug #128988, patch
2004-02-22 Xavier Ordoquy <xordoquy@wanadoo.fr>
* codegen/h2def.py: don't expect a whitespace after the type name
Fixes bug #128988, patch from Jon Willeke.
Diffstat (limited to 'codegen')
-rwxr-xr-x | codegen/h2def.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/h2def.py b/codegen/h2def.py index 67034b57..69f5ccf6 100755 --- a/codegen/h2def.py +++ b/codegen/h2def.py @@ -263,7 +263,7 @@ def clean_func(buf): #associate *, &, and [] with type instead of variable #pat=re.compile(r'\s+([*|&]+)\s*(\w+)') - pat=re.compile(r' \s+ ([*|&]+) \s* (\w+)',re.VERBOSE) + pat=re.compile(r' \s* ([*|&]+) \s* (\w+)',re.VERBOSE) buf=pat.sub(r'\1 \2', buf) pat=re.compile(r'\s+ (\w+) \[ \s* \]',re.VERBOSE) buf=pat.sub(r'[] \1', buf) |