summaryrefslogtreecommitdiffstats
path: root/json-parser.c
Commit message (Collapse)AuthorAgeFilesLines
* json: fix PRId64 on Win32Roy Tam2010-02-101-1/+2
| | | | | | | | | | OK we are fooled by the json lexer and parser. As we use %I64d to print 'long long' variables in Win32, but lexer and parser only deal with %lld but not %I64d, this patch add support for %I64d and solve 'info pci', 'powser_reset' and 'power_powerdown' assert failure in Win32. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* json-parser: remove dead incrementAmit Shah2010-01-131-2/+0
| | | | | | | clang-analyzer points out a redundant increment. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Add a JSON parserAnthony Liguori2009-11-171-0/+568
This is the third and final stage of the JSON parser. It parses lexical tokens performing grammar validation and creating the final QObject representation. It uses a recursive decent parser. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
OpenPOWER on IntegriCloud