summaryrefslogtreecommitdiff
path: root/upb/json/parser.rl
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2015-07-15 10:20:37 -0700
committerJosh Haberman <jhaberman@gmail.com>2015-07-15 10:37:45 -0700
commit334bab5d8deb3b78cf1320eac180a145277aab86 (patch)
treebe0d80c0167a07c31f605967067ac2fcec6bf119 /upb/json/parser.rl
parent5506b5894300d1e413a8b5d7ae8c7d8efa8544c7 (diff)
Updated JSON parser size.
Diffstat (limited to 'upb/json/parser.rl')
-rw-r--r--upb/json/parser.rl4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb/json/parser.rl b/upb/json/parser.rl
index fa71469..8896d7b 100644
--- a/upb/json/parser.rl
+++ b/upb/json/parser.rl
@@ -1310,8 +1310,8 @@ upb_json_parser *upb_json_parser_create(upb_env *env, upb_sink *output) {
upb_sink_reset(&p->top->sink, output->handlers, output->closure);
p->top->m = upb_handlers_msgdef(output->handlers);
- /* If this fails, uncomment and increase the value in parser.h.
- * fprintf(stderr, "%zd\n", upb_env_bytesallocated(env) - size_before); */
+ /* If this fails, uncomment and increase the value in parser.h. */
+ /* fprintf(stderr, "%zd\n", upb_env_bytesallocated(env) - size_before); */
assert(upb_env_bytesallocated(env) - size_before <= UPB_JSON_PARSER_SIZE);
return p;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback