maint: pacify -Wunterminated-string-initialization

* src/symtab.c (is_identifier):
Pacify GCC 15.1 -Wunterminated-string-initialization.
This commit is contained in:
Paul Eggert
2025-08-03 23:09:15 -07:00
parent 5209a67035
commit 5d2c34b48c

View File

@@ -284,7 +284,7 @@ symbol_print (symbol const *s, FILE *f)
static bool static bool
is_identifier (uniqstr s) is_identifier (uniqstr s)
{ {
static char const alphanum[26 + 26 + 1 + 10] = static char const alphanum[26 + 26 + 1 + 10] ATTRIBUTE_NONSTRING =
"abcdefghijklmnopqrstuvwxyz" "abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"_" "_"