summaryrefslogtreecommitdiff
path: root/giscanner/scannermain.py
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-05-14 17:06:24 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:54:37 +0200
commit30b17d39adc7a7284b926cac6ada566eb1b62292 (patch)
tree5a39055b3df48b5b6f382e5d80148af758a0f0e0 /giscanner/scannermain.py
parentc9c7de5d359bf661fc57639a7b53b07045a4e092 (diff)
downloadgobject-introspection-30b17d39adc7a7284b926cac6ada566eb1b62292.tar.gz
giscanner: rename AnnotationParser() to GtkDocCommentBlockParser()
Clarify the purpose of what up until now was know as the AnnotationParser() class, as it does more than just extracting annotations, it parses the complete GTK-Doc comment block.
Diffstat (limited to 'giscanner/scannermain.py')
-rwxr-xr-xgiscanner/scannermain.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index 00dc30d6..40a941ba 100755
--- a/giscanner/scannermain.py
+++ b/giscanner/scannermain.py
@@ -29,7 +29,7 @@ import sys
import tempfile
from giscanner import message
-from giscanner.annotationparser import AnnotationParser
+from giscanner.annotationparser import GtkDocCommentBlockParser
from giscanner.ast import Include, Namespace
from giscanner.dumper import compile_introspection_binary
from giscanner.gdumpparser import GDumpParser, IntrospectionBinary
@@ -464,8 +464,8 @@ def scanner_main(args):
ss = create_source_scanner(options, args)
- ap = AnnotationParser()
- blocks = ap.parse(ss.get_comments())
+ cbp = GtkDocCommentBlockParser()
+ blocks = cbp.parse(ss.get_comments())
# Transform the C symbols into AST nodes
transformer.parse(ss.get_symbols())