diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-05-30 13:24:51 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-10-08 20:55:24 +0200 |
commit | 2f11cda9ec19262833486ab796d5708d01353c3b (patch) | |
tree | 038a7ca5281a03af14daf89f81fdbdc555a076f9 /tests/scanner/annotationparser/gi/identifier.xml | |
parent | c3b42eeddca29a716f30df3c2bb093e53b6e62ea (diff) | |
download | gobject-introspection-2f11cda9ec19262833486ab796d5708d01353c3b.tar.gz |
giscanner: fix GTK-Doc identifier parsing
No need to track what type of identifier we've found as we don't
use that information later on. Continue searching for an identifier
if it's not found on the first line like gtkdoc-mkdb does.
Diffstat (limited to 'tests/scanner/annotationparser/gi/identifier.xml')
-rw-r--r-- | tests/scanner/annotationparser/gi/identifier.xml | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/tests/scanner/annotationparser/gi/identifier.xml b/tests/scanner/annotationparser/gi/identifier.xml index 3682ab24..b8de9c84 100644 --- a/tests/scanner/annotationparser/gi/identifier.xml +++ b/tests/scanner/annotationparser/gi/identifier.xml @@ -13,8 +13,14 @@ * Above identifier is not on the first line. **/</input> <parser> + <docblock> + <identifier> + <name>SECTION:test_invalid_section_identifier</name> + </identifier> + <description>Above identifier is not on the first line.</description> + </docblock> <messages> - <message>2: Warning: Test: ignoring unrecognized GTK-Doc comment block, identifier not found: + <message>2: Warning: Test: identifier not found on the first line: * This is not a valid section identifier ^</message> </messages> @@ -27,11 +33,18 @@ --> <input>/** + + * SECTION:meepapp */</input> <parser> + <docblock> + <identifier> + <name>SECTION:meepapp</name> + </identifier> + </docblock> <messages> - <message>2: Warning: Test: ignoring unrecognized GTK-Doc comment block, identifier not found: + <message>2: Warning: Test: identifier not found on the first line: ^</message> </messages> @@ -84,7 +97,7 @@ The application class handles ...</description> */</input> <parser> <messages> - <message>2: Warning: Test: ignoring unrecognized GTK-Doc comment block, identifier not found: + <message>2: Warning: Test: identifier not found on the first line: * gnm_cell_set_expr_and_value: Stores (WITHOUT COPYING) the supplied value, and ^</message> </messages> |