Fix an annotationparser bug for empty tags
authorJohan Dahlin <johan@gnome.org>
Wed, 9 Dec 2009 18:38:43 +0000 (16:38 -0200)
committerJohan Dahlin <johan@gnome.org>
Wed, 9 Dec 2009 18:39:47 +0000 (16:39 -0200)
commit0e68edfaeaee03bb8e23b09869d398d2460c75a0
tree1a9c840dba391310e168a19ea2f12b4e6a438d13
parent0910fc4205792557edbf80205d07a8729e193f33
Fix an annotationparser bug for empty tags

Makes sure we can parse empty tags such as '@foo:' without
adding a : in the end which the typelib compiler will complain
about
giscanner/annotationparser.py
tests/scanner/annotation-1.0-expected.gir
tests/scanner/annotation-1.0-expected.tgir
tests/scanner/annotation.c