Improve error reporting, return when the preprocessor fails. Add a verbose
authorJohan Dahlin <johan@gnome.org>
Thu, 27 Dec 2007 20:13:34 +0000 (20:13 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Thu, 27 Dec 2007 20:13:34 +0000 (20:13 +0000)
commit88af10f8719c4b64c15521871b011caa1dbf7bcc
tree5da15d1bf81e992e22d27ca1c351179c3e2ea8c2
parentb2fc628b032a3a3af44cc087814f02f310e09163
Improve error reporting, return when the preprocessor fails. Add a verbose

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

* src/scanner.c: (g_igenerator_parse_macros),
(g_igenerator_start_preprocessor), (g_igenerator_set_verbose),
(main):
* src/scanner.h:
* src/scannerparser.y:
* tests/parser/Makefile.am:

Improve error reporting, return when the preprocessor fails.
Add a verbose parameter, to aid debugging.
Revert to using a temporary file to communicate between the
preprocessor and the parser, because we need to wait for
the exit code from the pre-processor before starting to parse.

svn path=/trunk/; revision=88
ChangeLog
src/scanner.c
src/scanner.h
src/scannerparser.y
tests/parser/Makefile.am