parser: move x*alloc functions into #if-unit-test block where used
commitc98f5c1f712ca5b35cbaef83d2ea47015687e68c
authorJim Meyering <meyering@redhat.com>
Wed, 20 Oct 2010 19:36:37 +0000 (20 21:36 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 21 Oct 2010 14:42:40 +0000 (21 16:42 +0200)
tree598ae68b24fe0b1385aaf2cdb841e4456f3acb07
parente6a29d3e5890a27c8f3afae96b8d5a2cf6cbaed6
parser: move x*alloc functions into #if-unit-test block where used

* qparser.y (xalloc_die, xmalloc, xmemdup, xstrdup): Move functions...
[#if PARSER_UNIT_TEST]: ... into this #if-block, since now they're
used only there.
qparser.y