unicorn/qemu/scripts/qapi
Markus Armbruster c18d107804
qapi/common: Fix guardname() for funny filenames
guardname() fails to return a valid C identifier for arguments
containing anything but [A-Za-z0-9_.-']. Fix that. Don't bother
protecting ticklish identifiers; header guards are all-caps, and no
ticklish identifiers are.

Backports commit f9c146399dabefb8cd13c9c467a9e710af15ea70 from qemu
2018-03-09 09:27:14 -05:00
..
__init__.py qapi-gen: New common driver for code and doc generators 2018-03-09 08:47:12 -05:00
common.py qapi/common: Fix guardname() for funny filenames 2018-03-09 09:27:14 -05:00
events.py qapi: Make code-generating visitors use QAPIGen more 2018-03-09 09:11:28 -05:00
types.py qapi/types qapi/visit: Generate built-in stuff into separate files 2018-03-09 09:25:59 -05:00
visit.py qapi/types qapi/visit: Generate built-in stuff into separate files 2018-03-09 09:25:59 -05:00