g-comlin.adb (Sort_Sections, [...]): New/Modified internal methods needed to handle...
authorJerome Lambourg <lambourg@adacore.com>
Tue, 5 Aug 2008 08:16:44 +0000 (10:16 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 5 Aug 2008 08:16:44 +0000 (10:16 +0200)
commitc1db334ed53827be855c6e573bde2af301bcf596
treebc93abdd2162306ad2803b8e31a129fd1632d960
parent2f0c4fcf427abfe2c8f3e7fe2e851ec19d7ff446
g-comlin.adb (Sort_Sections, [...]): New/Modified internal methods needed to handle switch sections when...

2008-08-05  Jerome Lambourg  <lambourg@adacore.com>

* g-comlin.adb (Sort_Sections, Group_Switches): New/Modified internal
methods needed to handle switch sections when building a command line.
(Define_Section, Add_Switch, Remove_Switch, Is_New_Section,
Current_Section): New public methods or methods modified to handle
building command lines with sections.
(Set_Command_Line): Take into account sections when analysing a switch
string.
(Start): Sort the switches by sections before iterating the command line
elements.

* g-comlin.ads (Define_Section, Add_Switch, Remove_Switch,
Is_New_Section, Current_Section): New methods or methods modified to
handle building command lines with sections.

From-SVN: r138670
gcc/ada/g-comlin.adb
gcc/ada/g-comlin.ads