From 4f6fb987c31ae9dc3c3d0877a049c499d34bf66e Mon Sep 17 00:00:00 2001 From: Nicolas Tsiftes Date: Thu, 7 Jun 2012 10:20:27 +0200 Subject: [PATCH] The keyword structure can be constant. --- apps/antelope/aql-lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/antelope/aql-lexer.c b/apps/antelope/aql-lexer.c index 0e98584ef..cad604efb 100644 --- a/apps/antelope/aql-lexer.c +++ b/apps/antelope/aql-lexer.c @@ -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},