projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df7e6b4
)
annotationparser: include symbol name in warning
author
Stefan Kost
<ensonic@users.sf.net>
Fri, 4 Dec 2009 16:42:48 +0000
(18:42 +0200)
committer
Stefan Kost
<ensonic@users.sf.net>
Fri, 4 Dec 2009 21:01:32 +0000
(23:01 +0200)
Telling file and line would be better, but alreday this way one atleast has a
chance to fix it actually.
giscanner/annotationparser.py
patch
|
blob
|
history
diff --git
a/giscanner/annotationparser.py
b/giscanner/annotationparser.py
index
67d732e
..
27cbd8e
100644
(file)
--- a/
giscanner/annotationparser.py
+++ b/
giscanner/annotationparser.py
@@
-209,8
+209,8
@@
class AnnotationParser(object):
tag_name, value = self._split_tag_namevalue(line)
canon_name = tag_name.lower()
if canon_name in block.tags:
- print >>sys.stderr, "
M
ultiple definition of tag %r" \
- % (canon_name, )
+ print >>sys.stderr, "
Symbol %s has m
ultiple definition of tag %r" \
+ % (
block_name,
canon_name, )
block.tags[canon_name] = self._create_tag(canon_name, value)
block.comment = '\n'.join(comment_lines)
self._blocks[block.name] = block