diff options
Diffstat (limited to 'lib/ts_fsm.c')
-rw-r--r-- | lib/ts_fsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ts_fsm.c b/lib/ts_fsm.c index 9c873cadab7c..64fd9015ad80 100644 --- a/lib/ts_fsm.c +++ b/lib/ts_fsm.c @@ -32,7 +32,7 @@ struct ts_fsm { unsigned int ntokens; - struct ts_fsm_token tokens[0]; + struct ts_fsm_token tokens[]; }; /* other values derived from ctype.h */ @@ -193,7 +193,7 @@ startover: TOKEN_MISMATCH(); block_idx++; - /* fall through */ + fallthrough; case TS_FSM_ANY: if (next == NULL) |