scanner: Ignore #defines starting with _
authorColin Walters <walters@verbum.org>
Fri, 13 Apr 2012 19:28:49 +0000 (15:28 -0400)
committerColin Walters <walters@verbum.org>
Sat, 27 Oct 2012 15:35:53 +0000 (11:35 -0400)
commit7f10346a378b2f33bf87730cce43c8b85e565952
tree06feeaa1a74c4c2bd4167b527fa88a479bb765e0
parent0f923410a4106fc8e2c67ef7515e7f23a344121a
scanner: Ignore #defines starting with _

This matches our behavior for symbols (and we should probably fix this
more globally...I think we still scan _-prefixed enums).

Noticed from gudev which had #define _GUDEV_INSIDE_H 1

https://bugzilla.gnome.org/show_bug.cgi?id=674072
giscanner/transformer.py
tests/scanner/regress.h