diff options
author | Nils-Christian Kempke <nils-christian.kempke@intel.com> | 2022-04-11 14:06:56 +0200 |
---|---|---|
committer | Nils-Christian Kempke <nils-christian.kempke@intel.com> | 2022-04-11 14:06:56 +0200 |
commit | 04ba65365054e37461b4fd904ff9c00d88023b02 (patch) | |
tree | b4fccfb447b2e3a1f279ec4abb60d6391b5cd6d6 /gdb/f-exp.y | |
parent | 87abd9825d8e512dc89a4af8637ca52da42ebc68 (diff) | |
download | gdb-04ba65365054e37461b4fd904ff9c00d88023b02.zip gdb-04ba65365054e37461b4fd904ff9c00d88023b02.tar.gz gdb-04ba65365054e37461b4fd904ff9c00d88023b02.tar.bz2 |
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.
Diffstat (limited to 'gdb/f-exp.y')
-rw-r--r-- | gdb/f-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y index bb8e2ba..3ef44ec 100644 --- a/gdb/f-exp.y +++ b/gdb/f-exp.y @@ -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) |