Avoid anonymous struct to silence gcc's override-init warning (again)

This commit is contained in:
Max Brunsfeld 2017-07-21 10:17:54 -07:00
parent cbdfd89675
commit 1df41a9107
4 changed files with 37 additions and 37 deletions

View file

@ -4,7 +4,7 @@
static const TSParseAction SHIFT_ERROR = {
.type = TSParseActionTypeShift,
.to_state = ERROR_STATE,
.params.state = ERROR_STATE,
};
void ts_language_table_entry(const TSLanguage *self, TSStateId state,