[perl #20636] Make h2xs skip #define macros with empty rhs
authorAaron Crane <arc@cpan.org>
Fri, 28 Sep 2012 13:14:47 +0000 (14:14 +0100)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 28 Sep 2012 16:27:55 +0000 (09:27 -0700)
commitdd5f7cf27c952e8698978713394fb4e4591f13f0
tree9c4c23a213d163e697f63a243b49cc3d01da744a
parent4038981c97e0b0ad3fb5a4bc69c0c6ec5a11e021
[perl #20636] Make h2xs skip #define macros with empty rhs

Otherwise the generated C code uses such macros in expressions, which causes
compilation errors because the macro is expanded to an empty token list.
lib/h2xs.t
utils/h2xs.PL