mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-07 18:25:14 +00:00
The keyword structure can be constant.
This commit is contained in:
@@ -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},
|
||||||
|
Reference in New Issue
Block a user