for tag in tags:
lines.append(tag.to_gtk_doc_tag())
- comment = '/**\n'
+ comment = ''
+ #comment += '# %d \"%s\"\n' % (
+ # self.position.line,
+ # self.position.filename)
+ comment += '/**\n'
for line in lines:
line = line.rstrip()
if line:
n_params=1)
else:
message.warn('invalid annotation option: %s' % (option, ),
- positions=self.position)
+ self.position)
class DocOptions(object):
tag_name = tag_name.lower()
tag = DocTag(block, tag_name)
tag.value = line[first_colonspace_index+2:]
- tag.filename = block.position.offset(lineno)
+ tag.position = block.position.offset(lineno)
block.tags[tag_name] = tag
else:
comment_lines.append(line)