+2014-01-21 Robert Dewar <dewar@adacore.com>
+
+ * switch-c.adb, usage.adb, atree.adb, atree.ads: Minor reformatting.
+
2014-01-21 Thomas Quinot <quinot@adacore.com>
* atree.adb, atree.ads (Num_Extension_Nodes): Switch to Node_Id, since
if Has_Extension (Source) then
pragma Assert (Has_Extension (Destination));
+
for J in 1 .. Num_Extension_Nodes loop
Nodes.Table (Destination + J) := Nodes.Table (Source + J);
end loop;
Num_Extension_Nodes : Node_Id := 5;
-- This value is increased by one if debug flag -gnatd.N is set. This is
- -- for testing performance impact of adding a new extension node.
+ -- for testing performance impact of adding a new extension node. We make
+ -- this of type Node_Id for easy reference in loops using this value.
----------------------------------------
-- Definitions of Fields in Tree Node --
-- -gnateS (generate SCO information)
-- Include Source Coverage Obligation information in ALI
- -- files for the benefit of source coverage analysis tools
- -- (xcov).
+ -- files for use by source coverage analysis tools (xcov).
when 's' =>
if not First_Switch then
Write_Switch_Char ("eP");
Write_Line ("Pure/Prelaborate errors generate warnings rather than errors");
- if GNATprove_Mode then
- -- Line for -gnates switch
+ -- Line for -gnates switch
- Write_Switch_Char ("es=?");
- Write_Line ("Specify extra switches for gnat2why");
- end if;
+ Write_Switch_Char ("es=?");
+ Write_Line ("Specify extra switches for gnat2why");
-- Line for -gnateS switch