aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/lib-writ.adb
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2024-04-09 16:49:03 +0200
committerMarc Poulhiès <poulhies@adacore.com>2024-06-10 11:04:00 +0200
commitd9553e44dcfc2a05d276a25c9726fbf19d78412f (patch)
treea03f1647dac43fad8dc15d2c49b44fbef153a047 /gcc/ada/lib-writ.adb
parentd97f81d35583b0a7e16e91355d01b860c1d4fbaf (diff)
downloadgcc-d9553e44dcfc2a05d276a25c9726fbf19d78412f.zip
gcc-d9553e44dcfc2a05d276a25c9726fbf19d78412f.tar.gz
gcc-d9553e44dcfc2a05d276a25c9726fbf19d78412f.tar.bz2
ada: Fix references to Ada RM in comments
We seem to have a convention of using "RM" in the GNAT comments, not "Ada RM". Also, the paragraph references by convention should appear in parentheses, e.g. "8.3(12.3/2)", not "8.3 12.3/2". gcc/ada/ * einfo.ads, exp_attr.adb, exp_ch4.adb, exp_ch7.adb, lib-writ.adb, libgnat/a-stbuut.ads, sem_ch13.adb, sem_ch3.adb, sem_ch7.adb: Use "RM" in comments.
Diffstat (limited to 'gcc/ada/lib-writ.adb')
-rw-r--r--gcc/ada/lib-writ.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/lib-writ.adb b/gcc/ada/lib-writ.adb
index 697b2f2..0755b92 100644
--- a/gcc/ada/lib-writ.adb
+++ b/gcc/ada/lib-writ.adb
@@ -298,8 +298,7 @@ package body Lib.Writ is
function Is_Implicit_With_Clause (Clause : Node_Id) return Boolean is
begin
-- With clauses created for ancestor units are marked as internal,
- -- however, they emulate the semantics in Ada RM 10.1.2 (6/2),
- -- where
+ -- however, they emulate the semantics in RM 10.1.2 (6/2), where
--
-- with A.B;
--