Do not use multiple unnamed structs inside of unions
This commit is contained in:
parent
c393591e1d
commit
780e9cecc9
6 changed files with 56 additions and 42 deletions
|
|
@ -93,7 +93,7 @@ static inline TSStateId ts_language_next_state(const TSLanguage *self,
|
|||
if (count > 0) {
|
||||
TSParseAction action = actions[count - 1];
|
||||
if (action.type == TSParseActionTypeShift) {
|
||||
return action.params.extra ? state : action.params.state;
|
||||
return action.params.shift.extra ? state : action.params.shift.state;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue