diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-10-02 16:13:34 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-12-20 19:18:33 +0100 |
commit | 64d6033b203b32f02d0986220af5dc3cd1301ba6 (patch) | |
tree | 62c02d5b0f20a5cc5f38443b5db32e1fdae38495 /tests/qapi-schema/doc-good.texi | |
parent | 2281d00c3d75e684d9c0051169a6ac1cc60b66cd (diff) |
qapi: Make cur_doc local to QAPISchemaParser.__init__()
QAPISchemaParser.cur_doc is used only by .__init__() and its helper
.reject_expr_doc(). Make it local to __init__() and pass it to
.reject_expr_doc() explicitly.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20171002141341.24616-5-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'tests/qapi-schema/doc-good.texi')
0 files changed, 0 insertions, 0 deletions