diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-12-01 16:02:01 +0100 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-12-02 12:28:34 +0100 |
commit | ceb84d1e084b8048b2abb81d1e1ebe600f00d00e (patch) | |
tree | 2541644084d319d3afed0f66d786c7b62ca550c3 /tests/scanner/annotationparser/gi/syntax.xml | |
parent | f4bb1c1b18085ddbd22596de7f72993a2fd76c2d (diff) | |
download | gobject-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.xml | 17 |
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 |