aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/errout.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2007-10-15 15:58:20 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-10-15 15:58:20 +0200
commit1033834f3b0bc6fa0c8db5a03c412d3a2b05b9d2 (patch)
tree51acb2abb4ef8b5a72e09e35ec949add9fa416cb /gcc/ada/errout.ads
parent569f538b9d55c4cb780cf03df9357eb61139ba5a (diff)
downloadgcc-1033834f3b0bc6fa0c8db5a03c412d3a2b05b9d2.zip
gcc-1033834f3b0bc6fa0c8db5a03c412d3a2b05b9d2.tar.gz
gcc-1033834f3b0bc6fa0c8db5a03c412d3a2b05b9d2.tar.bz2
errout.ads: Comment clarification
2007-10-15 Robert Dewar <dewar@adacore.com> * errout.ads: Comment clarification * exp_ch4.adb (Expand_N_Allocator): Code cleanup. (Expand_N_Op_Eq): Improve handling of array equality with -gnatVa * lib.ads: Comment update * init.c: Minor reformatting. * sem_attr.adb: Minor formatting * osint-b.ads: Minor reformatting * sem_ch9.adb: Implement -gnatd.I switch * g-comlin.adb: (Start): Fix handling of empty command line. * gnatcmd.adb (GNATCmd): Do not put the -rules in the -cargs section, even when -rules follows the -cargs section. From-SVN: r129343
Diffstat (limited to 'gcc/ada/errout.ads')
-rw-r--r--gcc/ada/errout.ads2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/errout.ads b/gcc/ada/errout.ads
index 704f221..f58181e 100644
--- a/gcc/ada/errout.ads
+++ b/gcc/ada/errout.ads
@@ -670,6 +670,8 @@ package Errout is
-- is posted (with the same effect as Error_Msg_N (Msg, N) if and only
-- if Eflag is True and if the node N is within the main extended source
-- unit and comes from source. Typically this is a warning mode flag.
+ -- This routine can only be called during semantic analysis. It may not
+ -- be called during parsing.
procedure Change_Error_Text (Error_Id : Error_Msg_Id; New_Msg : String);
-- The error message text of the message identified by Id is replaced by