diff options
Diffstat (limited to 'upb')
-rw-r--r-- | upb/json/parser.c | 6 | ||||
-rw-r--r-- | upb/json/parser.rl | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/upb/json/parser.c b/upb/json/parser.c index 38dfe06..bb3b778 100644 --- a/upb/json/parser.c +++ b/upb/json/parser.c @@ -1988,7 +1988,9 @@ bool end(void *closure, const void *hd) { /* Prevent compile warning on unused static constants. */ UPB_UNUSED(json_start); UPB_UNUSED(json_en_number_machine); + UPB_UNUSED(json_en_number_object_machine); UPB_UNUSED(json_en_string_machine); + UPB_UNUSED(json_en_string_object_machine); UPB_UNUSED(json_en_value_machine); UPB_UNUSED(json_en_main); return true; @@ -2005,13 +2007,13 @@ static void json_parser_reset(upb_json_parser *p) { /* Emit Ragel initialization of the parser. */ -#line 2009 "upb/json/parser.c" +#line 2011 "upb/json/parser.c" { cs = json_start; top = 0; } -#line 1646 "upb/json/parser.rl" +#line 1648 "upb/json/parser.rl" p->current_state = cs; p->parser_top = top; accumulate_clear(p); diff --git a/upb/json/parser.rl b/upb/json/parser.rl index f83af87..389a09a 100644 --- a/upb/json/parser.rl +++ b/upb/json/parser.rl @@ -1626,7 +1626,9 @@ bool end(void *closure, const void *hd) { /* Prevent compile warning on unused static constants. */ UPB_UNUSED(json_start); UPB_UNUSED(json_en_number_machine); + UPB_UNUSED(json_en_number_object_machine); UPB_UNUSED(json_en_string_machine); + UPB_UNUSED(json_en_string_object_machine); UPB_UNUSED(json_en_value_machine); UPB_UNUSED(json_en_main); return true; |