Silently skip #pragma directives when scanning sources.
authorPavel Holejsovsky <pavel.holejsovsky@gmail.com>
Thu, 30 Sep 2010 09:38:55 +0000 (11:38 +0200)
committerJohan Dahlin <johan@gnome.org>
Sun, 3 Oct 2010 13:03:59 +0000 (10:03 -0300)
commit170fed201a406395392217928c9fe0caa9c5921e
tree02387aff5878f1979884a26657c9189761c7e970
parent4d0ccdadeca597095a0d1b7e1c66c57ea8e0d7f0
Silently skip #pragma directives when scanning sources.

This is useful e.g. on cygwin, where system headers use #pragma directives,
causing annoying false-alarm errors during every g-ir-scanner run.

https://bugzilla.gnome.org/show_bug.cgi?id=630994
giscanner/scannerlexer.l