diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-08-23 18:40:22 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-08-24 20:26:37 +0200 |
commit | ada74c3ba1b4f51e4462e186c251eaa974015bb8 (patch) | |
tree | 563fca93cf6087ad396f36051d47aaa5d4036ba1 /net/hub.c | |
parent | 83273e84d9646bb902e1debfdcb68c8afd38614f (diff) |
json: Keep interpolation state in JSONParserContext
The recursive descent parser passes along a pointer to
JSONParserContext. It additionally passes a pointer to interpolation
state (a va_alist *) as needed to reach its consumer
parse_interpolation().
Stuffing the latter pointer into JSONParserContext saves us the
trouble of passing it along, so do that.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-56-armbru@redhat.com>
Diffstat (limited to 'net/hub.c')
0 files changed, 0 insertions, 0 deletions