Enhance error reporting
authorPetri Lehtinen <petri@digip.org>
Tue, 26 Oct 2010 20:36:24 +0000 (23:36 +0300)
committerPetri Lehtinen <petri@digip.org>
Wed, 27 Oct 2010 18:58:20 +0000 (21:58 +0300)
commit5422a862de2354b3419ef628bac5a18c6ef522da
tree8e5093fdb899dbf3a304da023cc5bc3cd9e71e9c
parent818baf5fdb0710fba64274486650a289624f6a16
Enhance error reporting

This patch adds two new fields to the json_error_t struct: column and
source. It also adds functions to populate json_error_t internally.

The column field is not currently used, but it will be utilized in the
decoder and pack/unpack functions.
doc/apiref.rst
src/Makefile.am
src/error.c [new file with mode: 0644]
src/jansson.h
src/jansson_private.h
src/load.c
src/variadic.c