Support macro-expansion, cleanup gcc-based behavior.
Fix bugs found while parsing standard headers (testing <stdint.h>).