From 53104000372583319f7330fb036c096ca7af4a6b Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Tue, 17 Feb 2009 18:01:14 +0000 Subject: Merge commit 'origin' --- diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py index e5ecc64..003ff2c 100644 --- a/giscanner/annotationparser.py +++ b/giscanner/annotationparser.py @@ -39,10 +39,10 @@ from .glibast import GLibBoxed _COMMENT_HEADER = '*\n ' # Tags - annotations applyed to comment blocks -TAG_SINCE = 'Since' -TAG_DEPRECATED = 'Deprecated' -TAG_RETURNS = 'Returns' -TAG_RETURNS_ALT = 'Return value' +TAG_SINCE = 'since' +TAG_DEPRECATED = 'deprecated' +TAG_RETURNS = 'returns' +TAG_RETURNS_ALT = 'return value' # Options - annotations for parameters and return values OPT_ALLOW_NONE = 'allow-none' @@ -179,7 +179,7 @@ class AnnotationParser(object): comment_lines.append(line) continue tag = self._parse_tag(line) - block.tags[tag.name] = tag + block.tags[tag.name.lower()] = tag block.comment = '\n'.join(comment_lines) self._blocks[block.name] = block -- cgit v0.9.1