https://gcc.gnu.org/g:9112d109c297c4e0ee0eba151d2d3cbd53fbe38e

commit r16-8970-g9112d109c297c4e0ee0eba151d2d3cbd53fbe38e
Author: Eric Botcazou <[email protected]>
Date:   Sat Jan 3 09:58:32 2026 +0100

    ada: Fix typo in head comment of Sinput specification
    
    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.

Diff:
---
 gcc/ada/sinput.ads | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/ada/sinput.ads b/gcc/ada/sinput.ads
index 0f671fb6055b..a1eb5e4dccff 100644
--- a/gcc/ada/sinput.ads
+++ b/gcc/ada/sinput.ads
@@ -46,13 +46,13 @@
 --    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;

Reply via email to