Parse gtk-doc comments.
authorJohan Dahlin <johan@gnome.org>
Fri, 28 Dec 2007 01:03:35 +0000 (01:03 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Fri, 28 Dec 2007 01:03:35 +0000 (01:03 +0000)
commit1def4610511fb455742f38b794e9b0e3d34db5fe
tree65baf48f2ef5e3234af2a1322de6a450560c2935
parentf15be0c9731770733cd4874b0ad5d58d5e9abe45
Parse gtk-doc comments.

2007-12-27  Johan Dahlin  <johan@gnome.org>

* src/scannerlexer.l:
Parse gtk-doc comments.

* src/gidlwriter.c: (function_generate):
Reorganize, avoid duplication and add support for
writing deprecated functions.

* src/scannerparser.y:
* src/scanner.h:
Add new structure CDirective and functions to create/free them.

* src/scanner.c: (g_igenerator_process_function_symbol),
(g_igenerator_process_unregistered_struct_typedef),
(g_igenerator_process_struct_typedef),
(g_igenerator_process_union_typedef),
(g_igenerator_process_enum_typedef),
(g_igenerator_process_function_typedef), (g_igenerator_add_symbol),
(g_igenerator_start_preprocessor):
Parse @deprecated directive for functions.
Remove some more C99isms.
Send in -C to cpp to avoid stripping comments.

* tests/parser/foo-object.h:
* tests/parser/Foo-expected.gidl:
Add deprecated directive

svn path=/trunk/; revision=92
ChangeLog
src/gidlwriter.c
src/scanner.c
src/scanner.h
src/scannerlexer.l
src/scannerparser.y
tests/parser/Foo-expected.gidl
tests/parser/foo-object.h