summaryrefslogtreecommitdiff
path: root/giscanner/scannermain.py
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-09-02 02:23:28 -0300
committerJohan Dahlin <johan@gnome.org>2010-09-02 07:44:47 -0300
commit8f3a7cb0a1caa73a08e3f9879a862619098b50cc (patch)
treeaa1f6e684e169510017e9e360881e78ac78804bb /giscanner/scannermain.py
parent7bb32e34862c0a77b72a0de4800228f4f9ca0368 (diff)
downloadgobject-introspection-8f3a7cb0a1caa73a08e3f9879a862619098b50cc.tar.gz
[annotationparser] Send in comments directly
Diffstat (limited to 'giscanner/scannermain.py')
-rw-r--r--giscanner/scannermain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index 1baed83e..dacffa2d 100644
--- a/giscanner/scannermain.py
+++ b/giscanner/scannermain.py
@@ -317,8 +317,8 @@ def scanner_main(args):
gdump_parser.set_introspection_binary(binary)
gdump_parser.parse()
- ap = AnnotationParser(ss)
- blocks = ap.parse()
+ ap = AnnotationParser()
+ blocks = ap.parse(ss.get_comments())
main = MainTransformer(transformer, blocks)
main.transform()