giscanner: make it clear DocOptions() also has a position attribute
authorDieter Verfaillie <dieterv@optionexplicit.be>
Fri, 29 Jun 2012 14:57:54 +0000 (16:57 +0200)
committerDieter Verfaillie <dieterv@optionexplicit.be>
Wed, 28 Nov 2012 20:31:22 +0000 (21:31 +0100)
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

giscanner/annotationparser.py

index c405ef4..28db1a3 100644 (file)
@@ -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, )