summaryrefslogtreecommitdiff
path: root/giscanner/annotationparser.py
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2012-06-29 14:43:33 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2012-11-28 21:31:22 +0100
commitbdb479f3663d284e1a785f603f17670a754d0bbf (patch)
treed00a4a617c28cc70c7d8c050d2db5cbf873755c0 /giscanner/annotationparser.py
parent0cd1ad297e0b7bb78242ea6b22955e133dfc7958 (diff)
downloadgobject-introspection-bdb479f3663d284e1a785f603f17670a754d0bbf.tar.gz
giscanner: remove unused variables
https://bugzilla.gnome.org/show_bug.cgi?id=688897
Diffstat (limited to 'giscanner/annotationparser.py')
-rw-r--r--giscanner/annotationparser.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index 89c44136..364fdbfc 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -644,24 +644,17 @@ class AnnotationParser(object):
# Check for GTK-Doc comment block identifier.
####################################################################
if not comment_block:
- # The correct identifier name would have the colon at the end
- # but maintransformer.py does not expect us to do that. So
- # make sure to compute an identifier_name without the colon and
- # a real_identifier_name with the colon.
-
if not identifier:
result = SECTION_RE.search(line)
if result:
identifier = IDENTIFIER_SECTION
- real_identifier_name = 'SECTION:%s' % (result.group('section_name'))
- identifier_name = real_identifier_name
+ identifier_name = 'SECTION:%s' % (result.group('section_name'))
column = result.start('section_name') + column_offset
if not identifier:
result = SYMBOL_RE.search(line)
if result:
identifier = IDENTIFIER_SYMBOL
- real_identifier_name = '%s:' % (result.group('symbol_name'))
identifier_name = '%s' % (result.group('symbol_name'))
column = result.start('symbol_name') + column_offset
@@ -669,8 +662,6 @@ class AnnotationParser(object):
result = PROPERTY_RE.search(line)
if result:
identifier = IDENTIFIER_PROPERTY
- real_identifier_name = '%s:%s:' % (result.group('class_name'),
- result.group('property_name'))
identifier_name = '%s:%s' % (result.group('class_name'),
result.group('property_name'))
column = result.start('property_name') + column_offset
@@ -679,8 +670,6 @@ class AnnotationParser(object):
result = SIGNAL_RE.search(line)
if result:
identifier = IDENTIFIER_SIGNAL
- real_identifier_name = '%s::%s:' % (result.group('class_name'),
- result.group('signal_name'))
identifier_name = '%s::%s' % (result.group('class_name'),
result.group('signal_name'))
column = result.start('signal_name') + column_offset
@@ -914,7 +903,6 @@ class AnnotationParser(object):
result = MULTILINE_ANNOTATION_CONTINUATION_RE.search(line)
if result:
- line = result.group('description')
column = result.start('annotations') + column_offset
marker = ' '*column + '^'
message.warn('ignoring invalid multiline annotation continuation:\n'