Re: [PATCH 03/14] qapi: cope with special feature names containing a '-'

2024-07-12 Thread Markus Armbruster
Daniel P. Berrangé writes: > When we shortly allow custom special feature names to be defined, it > will be valid to include a '-', which must be translated to a '_' > when generating code. > > Signed-off-by: Daniel P. Berrangé > --- > scripts/qapi/gen.py | 2 +- > 1 file changed, 1 insertion(+

[PATCH 03/14] qapi: cope with special feature names containing a '-'

2024-06-04 Thread Daniel P . Berrangé
When we shortly allow custom special feature names to be defined, it will be valid to include a '-', which must be translated to a '_' when generating code. Signed-off-by: Daniel P. Berrangé --- scripts/qapi/gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qapi/