Re: [Qemu-devel] [PATCH 07/16] qapi: Simplify inclusion cycle detection

2015-06-12 Thread Eric Blake
On 06/12/2015 08:51 AM, Markus Armbruster wrote: > We maintain a stack of filenames in include_hist for convenient cycle > detection. > > As error_path() demonstrates, the same information is readily > available in the expr_info, so just use that, and drop include_hist. > > Signed-off-by: Markus

[Qemu-devel] [PATCH 07/16] qapi: Simplify inclusion cycle detection

2015-06-12 Thread Markus Armbruster
We maintain a stack of filenames in include_hist for convenient cycle detection. As error_path() demonstrates, the same information is readily available in the expr_info, so just use that, and drop include_hist. Signed-off-by: Markus Armbruster --- scripts/qapi.py | 18 -- 1 fil