mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 10:13:03 +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
|
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"
|
||||||
"_"
|
"_"
|
||||||
|
|||||||
Reference in New Issue
Block a user