diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-05-01 14:24:05 +0930 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-05-01 14:24:05 +0930 |
commit | fb5405eacede2f357fe496de54830ffff06e14d3 (patch) | |
tree | dd3bd89b4a14c882fbc95a5e2128b32777f69217 /strbuf.c | |
parent | 2fc7477b155cdecfee3b0a47203c0706c27db73e (diff) | |
download | lua-cjson-fb5405eacede2f357fe496de54830ffff06e14d3.tar.gz lua-cjson-fb5405eacede2f357fe496de54830ffff06e14d3.tar.bz2 lua-cjson-fb5405eacede2f357fe496de54830ffff06e14d3.zip |
Add detailed parse error reporting
- Always report the correct index of the token error.
- Use value.string to report what was found instead of just T_ERROR.
- Fix inverted unicode escape error detection.
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions