Re: [PATCH 2/7] qapi: Store pragma state in QAPISourceInfo, not global state

2019-10-01 Thread Eric Blake
On 10/1/19 2:15 PM, Markus Armbruster wrote: The frontend can't be run more than once due to its global state. A future commit will want to do that. Recent commit "qapi: Move context-sensitive checking to the proper place" got rid of many global variables already, but pragma state is still store

[PATCH 2/7] qapi: Store pragma state in QAPISourceInfo, not global state

2019-10-01 Thread Markus Armbruster
The frontend can't be run more than once due to its global state. A future commit will want to do that. Recent commit "qapi: Move context-sensitive checking to the proper place" got rid of many global variables already, but pragma state is still stored in global variables (that's why a pragma dire