On 5/6/23 11:15 AM, Harald Anlauf via Fortran wrote:
Hi Jerry, Steve,

I think I have to pour a little water into the wine.

The patch fixes the reported issue only for a comma after
the namelist name, but we still accept a few other illegal
characters, e.g. ';', because:

#define is_separator(c) (c == '/' ||  c == ',' || c == '\n' || c == ' ' \
                          || c == '\t' || c == '\r' || c == ';' || \
              (dtp->u.p.namelist_mode && c == '!'))

We don't want that in standard conformance mode, or do we?


I can easily change this to reject everything else except blanks and I suppose the cr and lf.

Jerry

Reply via email to