| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * lib/ts_fsm.c A naive finite state machine text search approach |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or |
|---|
| 5 | | - * modify it under the terms of the GNU General Public License |
|---|
| 6 | | - * as published by the Free Software Foundation; either version |
|---|
| 7 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 8 | 4 | * |
|---|
| 9 | 5 | * Authors: Thomas Graf <tgraf@suug.ch> |
|---|
| 10 | 6 | * |
|---|
| .. | .. |
|---|
| 36 | 32 | struct ts_fsm |
|---|
| 37 | 33 | { |
|---|
| 38 | 34 | unsigned int ntokens; |
|---|
| 39 | | - struct ts_fsm_token tokens[0]; |
|---|
| 35 | + struct ts_fsm_token tokens[]; |
|---|
| 40 | 36 | }; |
|---|
| 41 | 37 | |
|---|
| 42 | 38 | /* other values derived from ctype.h */ |
|---|