summaryrefslogtreecommitdiff
path: root/giscanner/annotationparser.py
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2012-06-29 16:57:54 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2012-11-28 21:31:22 +0100
commitbfc8b8d40ddb4093ff7f6e516eb4088c52136db2 (patch)
treeb6686f939cc8b4386de3350738fbf14dc517ac78 /giscanner/annotationparser.py
parentc78302ce7b33e7353bf0bc9272c86956841cb49a (diff)
downloadgobject-introspection-bfc8b8d40ddb4093ff7f6e516eb4088c52136db2.tar.gz
giscanner: make it clear DocOptions() also has a position attribute
Lost a couple of hours hunting down a failed test case (from the annotationparser work about to land) due to this not being clear... https://bugzilla.gnome.org/show_bug.cgi?id=688897
Diffstat (limited to 'giscanner/annotationparser.py')
-rw-r--r--giscanner/annotationparser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index c405ef43..28db1a36 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -398,6 +398,7 @@ class DocTag(object):
class DocOptions(object):
def __init__(self):
self.values = []
+ self.position = None
def __repr__(self):
return '<DocOptions %r>' % (self.values, )