diff options
author | Colin Walters <walters@verbum.org> | 2010-09-28 18:59:04 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-09-28 19:00:12 -0400 |
commit | e70a36aa6b44a48ebcdc9a71c3d0eda4a17c119e (patch) | |
tree | ce36534cf28f6dff8c2baf8b41cb40c36f9c3187 /tests/scanner/annotation.c | |
parent | 9d5a58a4e98a8c2160d36f5aa21489d55f49756b (diff) | |
download | gobject-introspection-e70a36aa6b44a48ebcdc9a71c3d0eda4a17c119e.tar.gz |
annotationparser: Don't ignore annotations if there's a : in docsGOBJECT_INTROSPECTION_0_9_8
The annotation parser changed to be stricter about annotation content,
but we introduced a regression where a : in the documentation would
wrongly cause the annotation to be skipped.
https://bugzilla.gnome.org/show_bug.cgi?id=630862
Diffstat (limited to 'tests/scanner/annotation.c')
-rw-r--r-- | tests/scanner/annotation.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c index 275ec0d6..9fa422ce 100644 --- a/tests/scanner/annotation.c +++ b/tests/scanner/annotation.c @@ -757,3 +757,17 @@ annotation_invalid_annotation (int foo) char backslash_parsing_tester_2 = '\\'; + + +/** + * annotation_test_parsing_bug630862: + * + * See https://bugzilla.gnome.org/show_bug.cgi?id=630862 + * + * Returns: (transfer none): An object, note the colon:in here + */ +GObject * +annotation_test_parsing_bug630862 (void) +{ + return NULL; +} |