summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2008-04-25 00:17:15 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-04-25 00:17:15 +0000
commit3554af8cb2e3141c9a9386018dd7b0564b2a00f5 (patch)
tree776b7a7756e526ca7a412e13ac30dbe10570e1c1 /tools
parent36a587e0e6dd36bbe4956286b9ab5ec7b925ae0d (diff)
downloadgobject-introspection-3554af8cb2e3141c9a9386018dd7b0564b2a00f5.tar.gz
Add support for source/header annotations.
2008-04-24 Johan Dahlin <jdahlin@async.com.br> * giscanner/gidlwriter.py: * giscanner/girwriter.py: * giscanner/giscannermodule.c (directive_get_name), (directive_get_value), (directive_get_options), (symbol_get_directives), (symbol_set_directives), (pygi_source_scanner_parse_file), (pygi_source_scanner_lex_filename), (pygi_source_scanner_get_directives), (init_giscanner): * giscanner/sourcescanner.c (gi_source_scanner_get_directives): * giscanner/sourcescanner.h: * giscanner/sourcescanner.py: * giscanner/treebuilder.py: * tools/g-ir-scanner: Add support for source/header annotations. svn path=/trunk/; revision=224
Diffstat (limited to 'tools')
-rwxr-xr-xtools/g-ir-scanner3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/g-ir-scanner b/tools/g-ir-scanner
index 04da3ced..9dfe2f30 100755
--- a/tools/g-ir-scanner
+++ b/tools/g-ir-scanner
@@ -70,8 +70,7 @@ def main(args):
arg.endswith('.h')):
filenames.append(arg)
- for filename in filenames:
- ss.parse_file(filename)
+ ss.parse_files(filenames)
ss.parse_macros()
builder = GObjectTreeBuilder(options.namespace)