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
|
/* The keywords are arranged primarily by length and
|
||||||
secondarily by expected lookup frequency. */
|
secondarily by expected lookup frequency. */
|
||||||
static struct keyword keywords[] = {
|
static const struct keyword keywords[] = {
|
||||||
{";", END},
|
{";", END},
|
||||||
{"(", LEFT_PAREN},
|
{"(", LEFT_PAREN},
|
||||||
{")", RIGHT_PAREN},
|
{")", RIGHT_PAREN},
|
||||||
|
|
Loading…
Reference in a new issue