diff options
author | Lucas Rocha <lucasr@gnome.org> | 2008-10-11 14:42:32 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2008-10-11 14:42:32 +0000 |
commit | f1be097d3be66639374c160225f01cfd42275953 (patch) | |
tree | 8025cb7d80642b03a2ca7b18dcd6970113ee993b /giscanner/xmlwriter.py | |
parent | c8eb431a039832d2034f0d012563008af43d80c0 (diff) | |
download | gobject-introspection-f1be097d3be66639374c160225f01cfd42275953.tar.gz |
Bug 552376: scanner generates wrong names for enum members when there's no
2008-10-11 Lucas Rocha <lucasr@gnome.org>
Bug 552376: scanner generates wrong names for enum members when
there's no defined gtype.
* giscanner/utils.py (strip_common_prefix): Always strip common
prefix exactly up to the last "_", and not beyond.
* tests/scanner/foo.h (FooEnumNoType): add FOO_ENUM_NEUF. The point
here is that the first character after the last '_' should should be
the same as the character in the same position on the type name.
* tests/scanner/foo-expected.gir: test that
svn path=/trunk/; revision=664
Diffstat (limited to 'giscanner/xmlwriter.py')
0 files changed, 0 insertions, 0 deletions