Skip to content

Commit cfa0990

Browse files
committed
Editorial change: correcting code style
1 parent 532e265 commit cfa0990

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

content/courses/advanced-ada/parts/control_flow/exceptions.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -879,22 +879,23 @@ units:
879879
package body Some_Generic_Package is
880880

881881
procedure Process is
882-
type Arr is array (R) of Integer;
883-
L : Arr := (others => 0);
882+
type Arr is
883+
array (R) of Integer;
884+
885+
Dummy : Arr := (others => 0);
884886
begin
885887
null;
886888
end Process;
887889

888890
end Some_Generic_Package;
889891

890-
with Ada.Text_IO; use Ada.Text_IO;
891-
892892
with Some_Generic_Package;
893893

894894
procedure Show_Subtype_Predicate_Programm_Error is
895895

896896
type Custom_Range is range 1 .. 5
897-
with Dynamic_Predicate => Custom_Range not in 4;
897+
with Dynamic_Predicate =>
898+
Custom_Range not in 4;
898899

899900
package P is new
900901
Some_Generic_Package (Custom_Range);

0 commit comments

Comments
 (0)