mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
maint: pacify -Wunterminated-string-initialization
* src/symtab.c (is_identifier): Pacify GCC 15.1 -Wunterminated-string-initialization.
This commit is contained in:
@@ -284,7 +284,7 @@ symbol_print (symbol const *s, FILE *f)
|
||||
static bool
|
||||
is_identifier (uniqstr s)
|
||||
{
|
||||
static char const alphanum[26 + 26 + 1 + 10] =
|
||||
static char const alphanum[26 + 26 + 1 + 10] ATTRIBUTE_NONSTRING =
|
||||
"abcdefghijklmnopqrstuvwxyz"
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
"_"
|
||||
|
||||
Reference in New Issue
Block a user