The keyword structure can be constant.
This commit is contained in:
parent
66f0a1bc95
commit
4f6fb987c3
|
@ -50,7 +50,7 @@ struct keyword {
|
|||
|
||||
/* The keywords are arranged primarily by length and
|
||||
secondarily by expected lookup frequency. */
|
||||
static struct keyword keywords[] = {
|
||||
static const struct keyword keywords[] = {
|
||||
{";", END},
|
||||
{"(", LEFT_PAREN},
|
||||
{")", RIGHT_PAREN},
|
||||
|
|
Loading…
Reference in a new issue