qapi: fix guardname generation
commitd8e1f214a0046b85f5297b0396f3678531b8982d
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 29 Nov 2011 22:47:48 +0000 (29 16:47 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 30 Nov 2011 15:28:32 +0000 (30 09:28 -0600)
tree4a93d88fdfd9693e45cd177ed09418933e1b631d
parent85e83264b2acaaeaf737386d693373c39c30cb0d
qapi: fix guardname generation

Fix a bug in handling dotted paths, and exclude directory prefixes
from generated guardnames to avoid odd/pseudo-random guardnames in
generated headers.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
scripts/qapi.py