Silence missing-initializer warnings for gcc

This commit is contained in:
Max Brunsfeld 2014-04-12 20:16:16 -07:00
parent 02f3fe2b04
commit 5145bba53d
6 changed files with 33 additions and 15 deletions

View file

@ -2686,6 +2686,9 @@ LEX_STATES = {
[603] = 140,
};
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
PARSE_TABLE = {
[0] = {
[ts_sym__break] = SHIFT(1),
@ -8843,4 +8846,6 @@ PARSE_TABLE = {
},
};
#pragma GCC diagnostic pop
EXPORT_PARSER(ts_parser_javascript);