diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-05-21 14:35:51 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-05-21 14:35:51 +0200 |
commit | 77a40ec16aeae9e13a96cef15799dd992cd23106 (patch) | |
tree | d5cc7f6d4438f211fb69543f995409bf0ba9712c /gcc/ada/par-ch4.adb | |
parent | dbed5a9bffce4f2c875abc4f9f502ed339aa0ae0 (diff) | |
download | gcc-77a40ec16aeae9e13a96cef15799dd992cd23106.zip gcc-77a40ec16aeae9e13a96cef15799dd992cd23106.tar.gz gcc-77a40ec16aeae9e13a96cef15799dd992cd23106.tar.bz2 |
[multiple changes]
2014-05-21 Robert Dewar <dewar@adacore.com>
* errout.adb, erroutc.adb, erroutc.ads: Allow warning tag in pragma
Warnings (Off, string).
2014-05-21 Robert Dewar <dewar@adacore.com>
* osint.adb: Fix three error messages to say invalid instead
of erroneous.
* par-ch4.adb, exp_aggr.adb, sem_attr.adb, sem_aux.adb, sem_ch3.adb,
sem_ch5.adb, sem_ch6.adb, sem_ch7.adb, sem_dim.adb, sem_res.adb,
sem_util.adb, sem_util.ads: Fix incorrect use of erroneous in comments.
2014-05-21 Ed Schonberg <schonberg@adacore.com>
* freeze.adb, sem_ch13.adb, sem_ch13.ads, sem_ch9.adb,
sem_ch9.ads: Move discriminant manipulation routines for analysis of
aspect specifications from sem_ch9 to sem_ch13, where they belong.
From-SVN: r210695
Diffstat (limited to 'gcc/ada/par-ch4.adb')
-rw-r--r-- | gcc/ada/par-ch4.adb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/ada/par-ch4.adb b/gcc/ada/par-ch4.adb index 8dd49f3..7926bd1 100644 --- a/gcc/ada/par-ch4.adb +++ b/gcc/ada/par-ch4.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2013, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -376,7 +376,7 @@ package body Ch4 is -- If dot is at end of line and followed by nothing legal, -- then assume end of name and quit (dot will be taken as - -- an erroneous form of some other punctuation by our caller). + -- an incorrect form of some other punctuation by our caller). elsif Token_Is_At_Start_Of_Line then Restore_Scan_State (Scan_State); @@ -770,11 +770,11 @@ package body Ch4 is Expr_Node := P_Expression_If_OK; goto LP_State_Expr; - -- LP_State_Call corresponds to the situation in which at least - -- one instance of Id => Expression has been encountered, so we - -- know that we do not have a name, but rather a call. We enter - -- it with the scan pointer pointing to the next argument to scan, - -- and Arg_List containing the list of arguments scanned so far. + -- LP_State_Call corresponds to the situation in which at least one + -- instance of Id => Expression has been encountered, so we know that + -- we do not have a name, but rather a call. We enter it with the + -- scan pointer pointing to the next argument to scan, and Arg_List + -- containing the list of arguments scanned so far. <<LP_State_Call>> @@ -785,7 +785,7 @@ package body Ch4 is Ident_Node := Token_Node; Scan; -- past Id - -- Deal with => (allow := as erroneous substitute) + -- Deal with => (allow := as incorrect substitute) if Token = Tok_Arrow or else Token = Tok_Colon_Equal then Arg_Node := New_Node (N_Parameter_Association, Prev_Token_Ptr); |