Skip to content

Commit 4f6fb98

Browse files
author
Nicolas Tsiftes
committed
The keyword structure can be constant.
1 parent 66f0a1b commit 4f6fb98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/antelope/aql-lexer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct keyword {
5050

5151
/* The keywords are arranged primarily by length and
5252
secondarily by expected lookup frequency. */
53-
static struct keyword keywords[] = {
53+
static const struct keyword keywords[] = {
5454
{";", END},
5555
{"(", LEFT_PAREN},
5656
{")", RIGHT_PAREN},

0 commit comments

Comments
 (0)