]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix typo in head comment of Sinput specification
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 3 Jan 2026 08:58:32 +0000 (09:58 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 25 May 2026 08:28:04 +0000 (10:28 +0200)
As explained later in the commentary of the file, wide characters specified
to be line terminators are considered to be logical instead of physical line
terminators.  The change also aligns the description of the physical line
terminators with the one present later in the commentary.

gcc/ada/ChangeLog:

* sinput.ads: Small tweak to head comment.

gcc/ada/sinput.ads

index 0f671fb6055bbaaf036778689360d680698deb9b..a1eb5e4dccffc367cf3d57dd431bf96d496f1560 100644 (file)
 --    significance, but they are significant for error reporting purposes,
 --    since errors are identified by line and column location.
 
---  In GNAT, a physical line is ended by any of the sequences LF, CR/LF, or
---  CR. LF is used in typical Unix systems, CR/LF in DOS systems, and CR
---  alone in System 7. In addition, we recognize any of these sequences in
+--  In GNAT, a physical line is ended by any of the sequences CR, LF, or CR/LF.
+--  CR is used in some MAC systems, LF is used in Unix systems, and CR/LF in
+--  DOS/Windows systems. In addition, we recognize any of these sequences in
 --  any of the operating systems, for better behavior in treating foreign
 --  files (e.g. a Unix file with LF terminators transferred to a DOS system).
 --  Finally, wide character codes in categories Separator, Line and Separator,
---  Paragraph are considered to be physical line terminators.
+--  Paragraph are considered to be logical line terminators.
 
 with Alloc;
 with Casing; use Casing;