hostparm.ads (Max_Line_Length): Set to Types.Column_Number'Last - 1...
authorThomas Quinot <quinot@adacore.com>
Fri, 9 Dec 2005 17:16:35 +0000 (18:16 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 9 Dec 2005 17:16:35 +0000 (18:16 +0100)
commit23d0d17f0debecb8cfbcf2ed0761d9bbc6866969
tree368cb33a970b6f1d0194e690a0101fbef8161433
parent7cdc672b77b47c9c4794ed9b24b8dc923ea36bab
hostparm.ads (Max_Line_Length): Set to Types.Column_Number'Last - 1...

2005-12-05  Thomas Quinot  <quinot@adacore.com>
    Robert Dewar  <dewar@adacore.com>

* hostparm.ads (Max_Line_Length): Set to Types.Column_Number'Last - 1,
which is the absolute maximum length we can support.

* frontend.adb: For the processing of configuration pragma files,
remove references to Opt.Max_Line_Length, which is not checked anymore.

* namet.ads (Name_Buffer): Adjust size to reflect increase on max line
length.

* scn.adb, scng.adb:
Always check line length against the absolute supported maximum,
Hostparm.Max_Line_Length.

* stylesw.adb (Set_Style_Check_Options, case M): The maximum supported
value for the maximum line length is Max_Line_Length (not
Column_Number'Last).
Minor error msg update
(Set_Style_Check_Options): New interface returning error msg
Minor code reorganization (processing for 'M' was out of alpha order)

* switch-c.adb: New interface for Set_Style_Check_Options

* stylesw.ads (Set_Style_Check_Options): New interface returning error
msg.

From-SVN: r108288
gcc/ada/frontend.adb
gcc/ada/hostparm.ads
gcc/ada/namet.ads
gcc/ada/scn.adb
gcc/ada/scng.adb
gcc/ada/stylesw.adb
gcc/ada/stylesw.ads
gcc/ada/switch-c.adb