@@ -14,50 +14,94 @@ line.ads:20:14: rule violation: more than one construct on the same line
141420 | procedure Proc (I : in out Integer); end Line; -- FLAG
1515 | ^^^^
1616
17- line.adb:20:50: rule violation: more than one construct on the same line
18- 20 | accept Start (I : Integer; B : Boolean) do null; -- FLAG
17+ line.adb:1:1: rule violation: more than one construct on the same line
18+ 1 | with Ada.Text_IO; with Ada.Strings.Unbounded; with Ada.Strings.Fixed; -- FLAG (3)
19+ | ^^^^^^^^^^^^^^^^^
20+
21+ line.adb:1:19: rule violation: more than one construct on the same line
22+ 1 | with Ada.Text_IO; with Ada.Strings.Unbounded; with Ada.Strings.Fixed; -- FLAG (3)
23+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
24+
25+ line.adb:1:47: rule violation: more than one construct on the same line
26+ 1 | with Ada.Text_IO; with Ada.Strings.Unbounded; with Ada.Strings.Fixed; -- FLAG (3)
27+ | ^^^^^^^^^^^^^^^^^^^^^^^
28+
29+ line.adb:4:1: rule violation: more than one construct on the same line
30+ 4 | with Ada.Strings.Wide_Fixed; use Ada.Strings.Wide_Fixed; with Ada.Strings.Wide_Unbounded; use Ada.Strings.Wide_Unbounded; -- FLAG (2)
31+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32+
33+ line.adb:4:58: rule violation: more than one construct on the same line
34+ 4 | with Ada.Strings.Wide_Fixed; use Ada.Strings.Wide_Fixed; with Ada.Strings.Wide_Unbounded; use Ada.Strings.Wide_Unbounded; -- FLAG (2)
35+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36+
37+ line.adb:8:4: rule violation: more than one construct on the same line
38+ 8 | use Ada.Text_IO; use Ada.Strings.Unbounded; -- FLAG (2)
39+ | ^^^^^^^^^^^^^^^^
40+
41+ line.adb:8:21: rule violation: more than one construct on the same line
42+ 8 | use Ada.Text_IO; use Ada.Strings.Unbounded; -- FLAG (2)
43+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
44+
45+ line.adb:10:4: rule violation: more than one construct on the same line
46+ 10 | pragma Annotate (gnatcheck, Exempt_On, "Goto_Statements", "because"); pragma Annotate (gnatcheck, Exempt_Off, "Goto_Statements"); -- FLAG (2)
47+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48+
49+ line.adb:10:74: rule violation: more than one construct on the same line
50+ 10 | pragma Annotate (gnatcheck, Exempt_On, "Goto_Statements", "because"); pragma Annotate (gnatcheck, Exempt_Off, "Goto_Statements"); -- FLAG (2)
51+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
52+
53+ line.adb:29:50: rule violation: more than one construct on the same line
54+ 29 | accept Start (I : Integer; B : Boolean) do null; -- FLAG
1955 | ^^^^^
2056
21- line.adb:29:7: rule violation: more than one construct on the same line
22- 29 | B3 : Boolean; B4 : Boolean; -- FLAG (2)
57+ line.adb:40:7: rule violation: more than one construct on the same line
58+ 40 | A at 1 range 1 .. 2; B at 2 range 2 .. 3; -- FLAG (2);
59+ | ^^^^^^^^^^^^^^^^^^^^
60+
61+ line.adb:40:28: rule violation: more than one construct on the same line
62+ 40 | A at 1 range 1 .. 2; B at 2 range 2 .. 3; -- FLAG (2);
63+ | ^^^^^^^^^^^^^^^^^^^^
64+
65+ line.adb:49:7: rule violation: more than one construct on the same line
66+ 49 | B3 : Boolean; B4 : Boolean; -- FLAG (2)
2367 | ^^
2468
25- line.adb:29 :21: rule violation: more than one construct on the same line
26- 29 | B3 : Boolean; B4 : Boolean; -- FLAG (2)
69+ line.adb:49 :21: rule violation: more than one construct on the same line
70+ 49 | B3 : Boolean; B4 : Boolean; -- FLAG (2)
2771 | ^^
2872
29- line.adb:33 :10: rule violation: more than one construct on the same line
30- 33 | I := J; if I > 0 then -- FLAG (2)
73+ line.adb:53 :10: rule violation: more than one construct on the same line
74+ 53 | I := J; if I > 0 then -- FLAG (2)
3175 | ^^^^^^^
3276
33- line.adb:33 :18: rule violation: more than one construct on the same line
34- 33 | I := J; if I > 0 then -- FLAG (2)
77+ line.adb:53 :18: rule violation: more than one construct on the same line
78+ 53 | I := J; if I > 0 then -- FLAG (2)
3579 | __________________^
36- 34 || I := 0; end if; -- FLAG
80+ 54 || I := 0; end if; -- FLAG
3781 ||__________________________^
3882
39- line.adb:34 :12: rule violation: more than one construct on the same line
40- 34 | I := 0; end if; -- FLAG
83+ line.adb:54 :12: rule violation: more than one construct on the same line
84+ 54 | I := 0; end if; -- FLAG
4185 | ^^^^^^^
4286
43- line.adb:47 :18: rule violation: more than one construct on the same line
44- 47 | My_Loop_2: for I in 1 .. 2 loop -- FLAG
87+ line.adb:67 :18: rule violation: more than one construct on the same line
88+ 67 | My_Loop_2: for I in 1 .. 2 loop -- FLAG
4589 | __________________^
4690 ||
4791 || ~~~ 1 other lines ~~~
4892 ||
49- 49 || end loop My_Loop_2;
93+ 69 || end loop My_Loop_2;
5094 ||_________________________^
5195
52- line.adb:51 :7: rule violation: more than one construct on the same line
53- 51 | Tmp := I; I := I + 1; -- FLAG (2)
96+ line.adb:71 :7: rule violation: more than one construct on the same line
97+ 71 | Tmp := I; I := I + 1; -- FLAG (2)
5498 | ^^^^^^^^^
5599
56- line.adb:51 :17: rule violation: more than one construct on the same line
57- 51 | Tmp := I; I := I + 1; -- FLAG (2)
100+ line.adb:71 :17: rule violation: more than one construct on the same line
101+ 71 | Tmp := I; I := I + 1; -- FLAG (2)
58102 | ^^^^^^^^^^^
59103
60- line.adb:53 :7: rule violation: more than one construct on the same line
61- 53 | I := I + 1; end Proc; -- FLAG
104+ line.adb:73 :7: rule violation: more than one construct on the same line
105+ 73 | I := I + 1; end Proc; -- FLAG
62106 | ^^^^^^^^^^^
63107
0 commit comments