public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/fortran: rename f77_keywords to f_keywords
@ 2022-04-11 12:09 Nils-Christian Kempke
0 siblings, 0 replies; only message in thread
From: Nils-Christian Kempke @ 2022-04-11 12:09 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=04ba65365054e37461b4fd904ff9c00d88023b02
commit 04ba65365054e37461b4fd904ff9c00d88023b02
Author: Nils-Christian Kempke <nils-christian.kempke@intel.com>
Date: Mon Apr 11 14:06:56 2022 +0200
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.
Diff:
---
gdb/f-exp.y | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/f-exp.y b/gdb/f-exp.y
index bb8e2ba6475..3ef44eca992 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-11 12:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 12:09 [binutils-gdb] gdb/fortran: rename f77_keywords to f_keywords Nils-Christian Kempke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).