aboutsummaryrefslogtreecommitdiff
path: root/src/cffc.hff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-09-01 07:32:57 +0200
committerlemon <lsof@mailbox.org>2022-09-01 07:32:57 +0200
commit8e85f9adcf63aefc0c8d1b825ad2d4a35584551d (patch)
treef7d51dba2bbe5d88c82efa6a8c589c181abaa968 /src/cffc.hff
parentef0f3688497c4315e90f5aa19820524c1c100d09 (diff)
disallow mutating elements of const array
Diffstat (limited to 'src/cffc.hff')
-rw-r--r--src/cffc.hff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cffc.hff b/src/cffc.hff
index 7338b8a..135e8d8 100644
--- a/src/cffc.hff
+++ b/src/cffc.hff
@@ -395,7 +395,7 @@ struct Targ {
}
// parse.cff
-extern static keyword2str [NUM_KEYWORDS]*const u8;
+extern static const keyword2str [NUM_KEYWORDS]*const u8;
extern fn parser_init(*Parser, path *const u8) void;
extern fn parse(*Parser) [#]Decl;