diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-07 16:56:30 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-07 16:56:30 +0000 |
commit | 449a120bd17a77cf35e15443328424bfbbb28197 (patch) | |
tree | bf873f637952d8d54457128fc745e447b244ee92 /gcc/ada/switch-c.adb | |
parent | aab739719174e0c4271176931dca76c1edf5ce0d (diff) | |
download | gcc-449a120bd17a77cf35e15443328424bfbbb28197.tar.gz |
2009-04-07 Thomas Quinot <quinot@adacore.com>
* exp_ch4.adb (Expand_Concatenate): Add missing conversion to index
type for the case of concatenating a constrained array indexed by an
enumeration type.
2009-04-07 Ed Schonberg <schonberg@adacore.com>
* sem_ch6.adb (Check_Conformance): when checking conformance of an
operation that overrides an abstract operation inherited from an
interface, return False if only one of the controlling formals is an
access parameter.
2009-04-07 Ed Schonberg <schonberg@adacore.com>
* sem_ch8.adb (Analyze_Object_Renaming): additional error messages
mandated by AI05-105.
2009-04-07 Vincent Celier <celier@adacore.com>
* prj-nmsc.adb (Get_Mains): Warn if a main is an empty string
2009-04-07 Thomas Quinot <quinot@adacore.com>
* usage.adb: Minor fix in usage message.
* sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to
match declaration; the correct subtype is Node_Id, not Entity_Id,
because the expected node kind is an identifier, not a defining
identifier.
* switch-c.adb: Minor reformatting.
* uintp.adb: Minor reformatting.
2009-04-07 Robert Dewar <dewar@adacore.com>
* exp_ch13.adb: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145696 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/switch-c.adb')
-rw-r--r-- | gcc/ada/switch-c.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb index 937a3a86b6f..ddd4859c2e2 100644 --- a/gcc/ada/switch-c.adb +++ b/gcc/ada/switch-c.adb @@ -278,7 +278,7 @@ package body Switch.C is when 'D' => Ptr := Ptr + 1; - -- Scan option integer line limit value + -- Scan optional integer line limit value if Ptr <= Max and then Switch_Chars (Ptr) in '0' .. '9' then Scan_Nat (Switch_Chars, Max, Ptr, Sprint_Line_Limit, 'D'); @@ -528,7 +528,7 @@ package body Switch.C is Ptr := Ptr + 1; Print_Generated_Code := True; - -- Scan option integer line limit value + -- Scan optional integer line limit value if Ptr <= Max and then Switch_Chars (Ptr) in '0' .. '9' then Scan_Nat (Switch_Chars, Max, Ptr, Sprint_Line_Limit, 'G'); |