summaryrefslogtreecommitdiff
path: root/upb/json/parser.rl
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2015-07-15 10:39:32 -0700
committerJosh Haberman <jhaberman@gmail.com>2015-07-15 10:39:32 -0700
commit2efe6be99415deb781955590edfc2541131be4bb (patch)
tree208e1924f8738987e0c9cfafe8df611e0897028c /upb/json/parser.rl
parent334bab5d8deb3b78cf1320eac180a145277aab86 (diff)
Clear JSON parser status in reset.
Diffstat (limited to 'upb/json/parser.rl')
-rw-r--r--upb/json/parser.rl1
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/json/parser.rl b/upb/json/parser.rl
index 8896d7b..40b7724 100644
--- a/upb/json/parser.rl
+++ b/upb/json/parser.rl
@@ -1285,6 +1285,7 @@ static void json_parser_reset(upb_json_parser *p) {
p->multipart_state = MULTIPART_INACTIVE;
p->capture = NULL;
p->accumulated = NULL;
+ upb_status_clear(&p->status);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback