diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-08-12 16:54:11 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-10-08 20:55:46 +0200 |
commit | a2b22ce75937d2d996ef90e0ab683d36031365d0 (patch) | |
tree | 42a1e8e7ba992a89efd98fa41b2d5e013f7165b2 /tests/warn/invalid-element-type.h | |
parent | 839e4f10a6b291a261c200484ff05ec44a31d93e (diff) | |
download | gobject-introspection-a2b22ce75937d2d996ef90e0ab683d36031365d0.tar.gz |
giscanner: flesh out annotation parsing and storage
- remove annotations regex, restore proper parens parsing
- drop weird DocOption() storage class and use lists/dicts
as appropriate
- make GtkDocAnnotations a simple OrderedDict subclass instead
of a weird hybrid dict/list storage class
- Deprecate Attribute: tag, replace with (attributes) annotation
on the identifier
Diffstat (limited to 'tests/warn/invalid-element-type.h')
-rw-r--r-- | tests/warn/invalid-element-type.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/warn/invalid-element-type.h b/tests/warn/invalid-element-type.h index bcd9123b..97b8281d 100644 --- a/tests/warn/invalid-element-type.h +++ b/tests/warn/invalid-element-type.h @@ -74,16 +74,16 @@ GList* test_unresolved_element_type(void); GPtrArray* test_unresolved_value_element_type(void); -// EXPECT:5: Warning: Test: element-type annotation takes at least one option, none given +// EXPECT:5: Warning: Test: element-type annotation for a list must have exactly one option, not 0 options // EXPECT:6: Warning: Test: element-type annotation for a list must have exactly one option, not 2 options -// EXPECT:16: Warning: Test: element-type annotation takes at least one option, none given // EXPECT:20: Warning: Test: Unknown container Type(target_fundamental=utf8, ctype=char*) for element-type annotation -// EXPECT:27: Warning: Test: element-type annotation takes at least one option, none given +// EXPECT:20: Warning: Test: Unknown container Type(target_fundamental=utf8, ctype=char*) for element-type annotation +// EXPECT:27: Warning: Test: element-type annotation for a hash table must have exactly two options, not 0 option(s) // EXPECT:28: Warning: Test: element-type annotation for a hash table must have exactly two options, not 1 option(s) // EXPECT:29: Warning: Test: element-type annotation for a hash table must have exactly two options, not 3 option(s) -// EXPECT:40: Warning: Test: element-type annotation takes at least one option, none given +// EXPECT:40: Warning: Test: element-type annotation for an array must have exactly one option, not 0 options // EXPECT:41: Warning: Test: invalid (element-type) for a GByteArray, must be one of guint8, gint8 or gchar -// EXPECT:51: Warning: Test: element-type annotation takes at least one option, none given +// EXPECT:51: Warning: Test: element-type annotation for an array must have exactly one option, not 0 options // EXPECT:52: Warning: Test: invalid (element-type) for a GPtrArray, must be a pointer // EXPECT:63: Warning: Test: test_unresolved_element_type: Unknown type: 'Unresolved' // EXPECT:71: Warning: Test: test_unresolved_value_element_type: Unknown type: 'GLib.Value' |