The keyword structure can be constant.

This commit is contained in:
Nicolas Tsiftes 2012-06-07 10:20:27 +02:00
parent 66f0a1bc95
commit 4f6fb987c3

View file

@ -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},