diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2010-09-07 19:36:58 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2010-09-07 20:03:59 -0400 |
commit | da89c092c5bac56524bd2b60c0f261b9fa3b91be (patch) | |
tree | 323ea9fd72a99b8ec13b514658f3d8987252097f /girepository | |
parent | cd0de25d5971a34f49830668337af96b15fed4b4 (diff) |
Handle casing better for constants
Instead of handling constants by lower-casing them, stripping the
lower-case prefix and upper-casing them again, leave them in the
original case and check against upper-cased versions of
namespace.symbol_prefixes.
Wwe detect what version to test against by looking at the first character
of the identifier, so we assume that --symbol-prefix options are always
in lowercase. If that needs to be relaxed, then we'll have to check all
symbols against both sets of prefixes.
Add tests for constants to Regress.h and fix tests/warn/unresolved-type.h
for a warning message that improved with this change.
https://bugzilla.gnome.org/show_bug.cgi?id=629007
Diffstat (limited to 'girepository')
0 files changed, 0 insertions, 0 deletions