Re: [Qemu-devel] [PATCH v3 08/14] qapi: add expr_name() helper

2014-08-14 Thread Markus Armbruster
Eric Blake writes: > Now that we know every expression has a known meta-type, we > can add a helper function that retrieves the name of an > arbitrary expression, for use in future error messages. > > * scripts/qapi.py (expr_name): New function. > > Signed-off-by: Eric Blake > --- > scripts/qap

[Qemu-devel] [PATCH v3 08/14] qapi: add expr_name() helper

2014-08-05 Thread Eric Blake
Now that we know every expression has a known meta-type, we can add a helper function that retrieves the name of an arbitrary expression, for use in future error messages. * scripts/qapi.py (expr_name): New function. Signed-off-by: Eric Blake --- scripts/qapi.py | 13 + 1 file chang