gdb/fortran: rename f77_keywords to f_keywords

Rename f77_keywords to f_keywords since some of the introduced keywords
in the array are f90 only.
This commit is contained in:
Nils-Christian Kempke
2022-04-11 14:06:56 +02:00
parent 87abd9825d
commit 04ba653650

View File

@ -1138,7 +1138,7 @@ static const struct f77_boolean_val boolean_values[] =
{ ".false.", 0 }
};
static const struct token f77_keywords[] =
static const token f_keywords[] =
{
/* Historically these have always been lowercase only in GDB. */
{ "character", CHARACTER, OP_NULL, true },
@ -1473,7 +1473,7 @@ yylex (void)
/* Catch specific keywords. */
for (const auto &keyword : f77_keywords)
for (const auto &keyword : f_keywords)
if (strlen (keyword.oper) == namelen
&& ((!keyword.case_sensitive
&& strncasecmp (tokstart, keyword.oper, namelen) == 0)