unicorn/qemu/scripts/qapi
Markus Armbruster cad1593b7d
qapi: Record 'include' directives in parse tree
The parse tree is a list of expressions. Except include expressions
currently get replaced by the included file's parse tree.

Instead of throwing away the include expression, keep it with the file
name expanded so you don't have to track the including file's
directory to make sense of it.

A future commit will put this include expression to use.

Backports commit 97f0249474d19c1d60fb9d934c8bc08625a619ca from qemu
2018-03-09 08:58:49 -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: Record 'include' directives in parse tree 2018-03-09 08:58:49 -05:00
events.py qapi-gen: New common driver for code and doc generators 2018-03-09 08:47:12 -05:00
types.py qapi-gen: New common driver for code and doc generators 2018-03-09 08:47:12 -05:00
visit.py qapi-gen: New common driver for code and doc generators 2018-03-09 08:47:12 -05:00