Re: [Qemu-devel] [PATCH v2 15/29] qapi: Record 'include' directives in parse tree

2018-02-23 Thread Markus Armbruster
Michael Roth writes: > Quoting Markus Armbruster (2018-02-11 03:35:53) >> 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 expande

Re: [Qemu-devel] [PATCH v2 15/29] qapi: Record 'include' directives in parse tree

2018-02-19 Thread Michael Roth
Quoting Markus Armbruster (2018-02-11 03:35:53) > 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 t

Re: [Qemu-devel] [PATCH v2 15/29] qapi: Record 'include' directives in parse tree

2018-02-12 Thread Eric Blake
On 02/11/2018 03:35 AM, Markus Armbruster wrote: 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 incl

[Qemu-devel] [PATCH v2 15/29] qapi: Record 'include' directives in parse tree

2018-02-11 Thread Markus Armbruster
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 futu