diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-19 14:59:27 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-19 14:59:27 +0200 |
commit | 16e764a7f44bbc29254f041fe0f3064cce65b994 (patch) | |
tree | a83fb2e298eb4d43738609e6f7a59356edfce6ec /gcc/ada/styleg.adb | |
parent | 4754d4e86afb974d0316a2b2793029f4407d762f (diff) | |
download | gcc-16e764a7f44bbc29254f041fe0f3064cce65b994.zip gcc-16e764a7f44bbc29254f041fe0f3064cce65b994.tar.gz gcc-16e764a7f44bbc29254f041fe0f3064cce65b994.tar.bz2 |
[multiple changes]
2016-04-19 Ed Schonberg <schonberg@adacore.com>
* sem_attr.adb (Resolve_Attribute, case 'Access): Freeze
overloadable entity if originally overloaded.
2016-04-19 Arnaud Charlet <charlet@adacore.com>
* exp_aggr.adb, exp_ch3.adb, exp_ch7.adb, exp_ch9.adb, exp_code.adb,
exp_fixd.adb, namet.adb, osint.adb, osint.ads, par-ch2.adb,
sem_ch10.adb, sem_ch12.adb, sem_disp.adb, sem_elab.adb, sem_elim.adb
sem_util.adb, styleg.adb, styleg.ads, stylesw.ads: Minor code
clean up.
From-SVN: r235194
Diffstat (limited to 'gcc/ada/styleg.adb')
-rw-r--r-- | gcc/ada/styleg.adb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/styleg.adb b/gcc/ada/styleg.adb index a421f25..58fd3fd 100644 --- a/gcc/ada/styleg.adb +++ b/gcc/ada/styleg.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2015, 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- -- @@ -717,7 +717,7 @@ package body Styleg is -- In check max line length mode (-gnatym), the line length must -- not exceed the permitted maximum value. - procedure Check_Line_Max_Length (Len : Int) is + procedure Check_Line_Max_Length (Len : Nat) is begin if Style_Check_Max_Line_Length then if Len > Style_Max_Line_Length then @@ -741,10 +741,10 @@ package body Styleg is -- In check DOS line terminators node (-gnatyd), the line terminator -- must be a single LF, without a following CR. - procedure Check_Line_Terminator (Len : Int) is + procedure Check_Line_Terminator (Len : Nat) is S : Source_Ptr; - L : Int := Len; + L : Nat := Len; -- Length of line (adjusted down for blanks at end of line) begin |