summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/syntax.xml
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2012-12-01 16:02:01 +0100
committerDieter Verfaillie <dieterv@optionexplicit.be>2012-12-02 12:28:34 +0100
commitceb84d1e084b8048b2abb81d1e1ebe600f00d00e (patch)
tree2541644084d319d3afed0f66d786c7b62ca550c3 /tests/scanner/annotationparser/gi/syntax.xml
parentf4bb1c1b18085ddbd22596de7f72993a2fd76c2d (diff)
downloadgobject-introspection-ceb84d1e084b8048b2abb81d1e1ebe600f00d00e.tar.gz
scanner: Parse comments with */ not on a new line, but emit a warning
We don't know how many apps do this, but at least ibus had one. https://bugzilla.gnome.org/show_bug.cgi?id=689354
Diffstat (limited to 'tests/scanner/annotationparser/gi/syntax.xml')
-rw-r--r--tests/scanner/annotationparser/gi/syntax.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/tests/scanner/annotationparser/gi/syntax.xml b/tests/scanner/annotationparser/gi/syntax.xml
index c97bd5bc..83c56b9b 100644
--- a/tests/scanner/annotationparser/gi/syntax.xml
+++ b/tests/scanner/annotationparser/gi/syntax.xml
@@ -71,23 +71,34 @@ something */</commentblock>
<test>
<!--
- Not GTK-Doc
+ Technically not GTK-Doc, but we need to support this for backwards compatibility
-->
<commentblock>/**
Test
something */</commentblock>
+ <docblock>
+ <identifier>
+ <name>Test</name>
+ </identifier>
+ <description>something</description>
+ </docblock>
</test>
<test>
<!--
- Not GTK-Doc
+ Technically not GTK-Doc, but we need to support this for backwards compatibility
-->
<commentblock>/**
Test
something **/</commentblock>
+ <docblock>
+ <identifier>
+ <name>Test</name>
+ </identifier>
+ <description>something</description>
+ </docblock>
</test>
-
<test>
<!--
Broken comment block, signal the start of the comment block description followed