Track line number for error reports

This commit is contained in:
Eric Fischer
2014-02-06 20:44:39 -08:00
parent 46120e84c4
commit a74444af28
3 changed files with 19 additions and 9 deletions
+1
View File
@@ -24,6 +24,7 @@ struct json_pull {
int (*read)(struct json_pull *);
int (*peek)(struct json_pull *);
void *source;
int line;
};
typedef struct json_pull json_pull;