diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-27 01:56:23 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-27 01:56:23 +0000 |
commit | d327772dfc78ad49f46fbf583418e33abc0b59d2 (patch) | |
tree | 5a6105e6f89eb921d1b6985f77ace21364067196 /jv_parse.h | |
parent | cedda2084d2f6b331ba0a73e05f0b77ee7995c86 (diff) |
JSON parsing error messages now specify a location of the error.
Should help with #53.
Diffstat (limited to 'jv_parse.h')
-rw-r--r-- | jv_parse.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ struct jv_parser { char* tokenbuf; int tokenpos; int tokenlen; + + int line, column; struct dtoa_context dtoa; |