h2ph: handle "#if defined SYMBOL" better
authorStepan Kasal <skasal@redhat.com>
Thu, 9 Jul 2009 13:49:57 +0000 (15:49 +0200)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 12 Jul 2009 14:41:50 +0000 (16:41 +0200)
commit3983eafb40341b21a64d20c0c4e7e618101ee6ce
tree966e246ee8e960b3f0f4bb6b9eef620b24099e32
parentd6521b5650c0b0e050e24c14c9f29510eb224d6d
h2ph: handle "#if defined SYMBOL" better

expr() contains a code to handle "defined(SYM)" in #if directives.
Unfortunately, this code is not executed for "defined SYM", without
parentheses.  This patch fixes it.
t/lib/h2ph.pht
utils/h2ph.PL