json-parser: propagate error from parser

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2011-06-01 12:14:50 -05:00
parent d5ec4f27c3
commit ef749d07e7
5 changed files with 25 additions and 7 deletions

View file

@ -16,7 +16,9 @@
#include "qemu-common.h"
#include "qlist.h"
#include "error.h"
QObject *json_parser_parse(QList *tokens, va_list *ap);
QObject *json_parser_parse_err(QList *tokens, va_list *ap, Error **errp);
#endif