This is the mail archive of the
mailing list for the GNU Fortran project.
Re: Possible Bug in gfc_match_name() - whitespace is not a delimiter
- From: Richard E Maine <Richard dot Maine at nasa dot gov>
- To: Kevin Nuss <KevinNuss at mail dot boisestate dot edu>
- Cc: fortran at gcc dot gnu dot org
- Date: Thu, 30 Jun 2005 10:52:21 -0700
- Subject: Re: Possible Bug in gfc_match_name() - whitespace is not a delimiter
- References: <email@example.com>
On Jun 30, 2005, at 10:35 AM, Kevin Nuss wrote:
I noticed that in gfc_match_name() in the source file match.c,
gfc_next_char() is used rather than gfc_next_char_literal(). This
things like "abc def ghi" to be scanned as "abcdefghi" while a variable
name is being looked for. Doesn't seem correct to me. If it is OK,
to bother you.
Whitespace is not supposed to be a delimiter for names (or anything
else) in fixed source form. Making it so would violate the standard. If
I've got it right (and I might not), that's sort of a major part of the
distinction between the 2 functions.
Richard Maine | Good judgment comes from experience;
Richard.Maine@nasa.gov | experience comes from bad judgment.
| -- Mark Twain