DEC Extension Patches: [5] Form feed as whitespace
Fritz Reese
fritzoreese@gmail.com
Wed Apr 13 00:31:00 GMT 2016
All,
Attached is another DEC extension. For convenience, this patch is
based on previous DEC extension patches. That way when the other DEC
extensions are merged in the next release, this patch can be merged on
top of them. Therefore it depends on the most recently published patch:
[4] AUTOMATIC and STATIC attributes.
https://gcc.gnu.org/ml/fortran/2016-04/msg00039.html
Attached is [5] Form feed as whitespace. (Upon request an independent
patch can be submitted based directly on trunk.)
Historically the form feed character was interpreted by line printers
to cause the rest of the page to feed through the printer. Some old
Fortran source code included these characters so the source code would
better align on page boundaries when printed. In both fixed-form and
free-form this causes issues with GNU Fortran. This patch introduces a
new flag -ffeed which causes the form feed character ('\f', or ASCII
'\x0c') to be recognized as whitespace. This flag is also enabled with
the '-fdec' flag introduced in the STRUCTURE/UNION patch.
---
Fritz Reese
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Treat-form-feed-as-whitespace-with-new-option-ffeed.patch
Type: application/octet-stream
Size: 6856 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160413/6ca229f0/attachment.obj>
More information about the Fortran
mailing list