The attached patch works by adding the comment character to the set of
characters treated as separators. This works because a namelist comment
abstractly can be though of as equivalent to an end of line character. For
namelist the '!' character is already handled in the 'eat_separators'
2013/5/5 Jerry DeLisle jvdeli...@charter.net:
On 05/04/2013 06:30 PM, Steve Kargl wrote:
On Sat, May 04, 2013 at 05:13:51PM -0700, Jerry DeLisle wrote:
CASE_SEPARATORS:/* Not a repeat count. */
case EOF:
+case '!':
if (c == '!')
gfc_warning(GNU
Janus Weil wrote:
2013/5/5 Jerry DeLisle jvdeli...@charter.net:
On 05/04/2013 06:30 PM, Steve Kargl wrote:
On Sat, May 04, 2013 at 05:13:51PM -0700, Jerry DeLisle wrote:
CASE_SEPARATORS:/* Not a repeat count. */
case EOF:
+case '!':
if (c == '!')
On Sat, May 04, 2013 at 10:25:19PM -0700, Jerry DeLisle wrote:
On 05/04/2013 06:30 PM, Steve Kargl wrote:
On Sat, May 04, 2013 at 05:13:51PM -0700, Jerry DeLisle wrote:
CASE_SEPARATORS:/* Not a repeat count. */
case EOF:
+ case '!':
if (c == '!')
On 05/05/2013 05:47 AM, Steve Kargl wrote:
On Sat, May 04, 2013 at 10:25:19PM -0700, Jerry DeLisle wrote:
On 05/04/2013 06:30 PM, Steve Kargl wrote:
On Sat, May 04, 2013 at 05:13:51PM -0700, Jerry DeLisle wrote:
CASE_SEPARATORS:/* Not a repeat count. */
case EOF:
+ case
On Sun, May 5, 2013 at 8:25 AM, Jerry DeLisle jvdeli...@charter.net wrote:
I don't see much point in issuing a warning if we accept it. I can just as
easily make it an error with something like A value separator is required
before a namelist comment and be done with trying to second guess
The attached patch resolves this PR by treating '!', the Fortran comment mark,
as a valid separator between values. Thus, when encountered while reading a
value, the read is ended normally with whatever value was encountered. This is
an extension beyond the Standards which require a separator
On 05/04/2013 05:13 PM, Jerry DeLisle wrote:
The attached patch resolves this PR by treating '!', the Fortran comment mark,
as a valid separator between values. Thus, when encountered while reading a
value, the read is ended normally with whatever value was encountered. This
is
an
On Sat, May 04, 2013 at 05:13:51PM -0700, Jerry DeLisle wrote:
CASE_SEPARATORS:/* Not a repeat count. */
case EOF:
+ case '!':
if (c == '!')
gfc_warning(GNU Fortran extension: accepting a possibly
corrupted namelist);
goto
On 05/04/2013 06:30 PM, Steve Kargl wrote:
On Sat, May 04, 2013 at 05:13:51PM -0700, Jerry DeLisle wrote:
CASE_SEPARATORS:/* Not a repeat count. */
case EOF:
+case '!':
if (c == '!')
gfc_warning(GNU Fortran extension: accepting a possibly
10 matches
Mail list logo