summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/annotation_in_out.xml
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-08-12 16:54:11 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:55:46 +0200
commita2b22ce75937d2d996ef90e0ab683d36031365d0 (patch)
tree42a1e8e7ba992a89efd98fa41b2d5e013f7165b2 /tests/scanner/annotationparser/gi/annotation_in_out.xml
parent839e4f10a6b291a261c200484ff05ec44a31d93e (diff)
downloadgobject-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/scanner/annotationparser/gi/annotation_in_out.xml')
-rw-r--r--tests/scanner/annotationparser/gi/annotation_in_out.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/scanner/annotationparser/gi/annotation_in_out.xml b/tests/scanner/annotationparser/gi/annotation_in_out.xml
index cb489577..5530a6ab 100644
--- a/tests/scanner/annotationparser/gi/annotation_in_out.xml
+++ b/tests/scanner/annotationparser/gi/annotation_in_out.xml
@@ -36,7 +36,7 @@
<name>inoutarg2</name>
<annotations>
<annotation>
- <name>in-out</name>
+ <name>inout</name>
</annotation>
</annotations>
<description>This is an argument test</description>
@@ -50,6 +50,11 @@
</tag>
</tags>
</docblock>
+ <messages>
+ <message>5: Warning: Test: "in-out" annotation has been deprecated, please use "inout" instead:
+ * @inoutarg2: (in-out): This is an argument test
+ ^</message>
+ </messages>
</parser>
</test>