From 52afb18645d8ee2d2426d318aa078fbc9f4bcb87 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Tue, 17 Jul 2018 08:07:47 +0000 Subject: [PATCH] [Ada] Consistent spelling of "i.e." in docs and comments 2018-07-17 Piotr Trojanek gcc/ada/ * einfo.ads, libgnat/g-comlin.ads: Minor change "ie" to "i.e." in docs and comments. From-SVN: r262784 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/einfo.ads | 2 +- gcc/ada/libgnat/g-comlin.ads | 11 ++++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 83196d3b61d..d9d4f24653f 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2018-07-17 Piotr Trojanek + + * einfo.ads, libgnat/g-comlin.ads: Minor change "ie" to "i.e." in docs + and comments. + 2018-07-17 Justin Squirek * libgnat/s-os_lib.adb (Argument_String_To_List): Fix trimming of diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads index bb9ec109da9..8e5bf659533 100644 --- a/gcc/ada/einfo.ads +++ b/gcc/ada/einfo.ads @@ -1034,7 +1034,7 @@ package Einfo is -- base type). -- -- In all other cases Discriminant_Constraint contains the empty --- Elist (ie it is initialized with a call to New_Elmt_List). +-- Elist (i.e. it is initialized with a call to New_Elmt_List). -- Discriminant_Default_Value (Node20) -- Defined in discriminants. Points to the node representing the diff --git a/gcc/ada/libgnat/g-comlin.ads b/gcc/ada/libgnat/g-comlin.ads index 1afa57b6d82..da49ce92ebe 100644 --- a/gcc/ada/libgnat/g-comlin.ads +++ b/gcc/ada/libgnat/g-comlin.ads @@ -703,7 +703,8 @@ package GNAT.Command_Line is -- automatically generated list of supported switches. procedure Display_Help (Config : Command_Line_Configuration); - -- Display the help for the tool (ie its usage, and its supported switches) + -- Display the help for the tool (i.e. its usage, and its supported + -- switches). function Get_Switches (Config : Command_Line_Configuration; @@ -843,9 +844,9 @@ package GNAT.Command_Line is -- -- This function can be used to reset Cmd by passing an empty string -- - -- If an invalid switch is found on the command line (ie wasn't defined in - -- the configuration via Define_Switch), and the configuration wasn't set - -- to accept all switches (by defining "*" as a valid switch), then an + -- If an invalid switch is found on the command line (i.e. wasn't defined + -- in the configuration via Define_Switch), and the configuration wasn't + -- set to accept all switches (by defining "*" as a valid switch), then an -- exception Invalid_Switch is raised. The exception message indicates the -- invalid switch. @@ -896,7 +897,7 @@ package GNAT.Command_Line is -- -from bar -- -- Note however that Getopt doesn't know how to handle ":" as a separator. - -- So the recommendation is to declare the switch as "-from!" (ie no + -- So the recommendation is to declare the switch as "-from!" (i.e. no -- space between the switch and its parameter). Then Getopt will return -- ":bar" as the parameter, and you can trim the ":" in your application. -- -- 2.30.2