Enforce token spacing with style check
Now the code looks a lot more "Ada-like".
This commit is contained in:
parent
091ae71647
commit
55dfe3794a
|
@ -12,7 +12,7 @@ library project AdaID_Debug is
|
|||
end Builder;
|
||||
|
||||
package Compiler is
|
||||
for Default_Switches ("ada") use ("-gnatyabBCeiklmnpxAfh");
|
||||
for Default_Switches ("ada") use ("-gnatyabBCeiklmnpxAfht");
|
||||
end Compiler;
|
||||
|
||||
package Linker is
|
||||
|
|
|
@ -20,7 +20,10 @@ package AdaID.Generate is
|
|||
procedure Random (id : in out UUID);
|
||||
-- Generate a random UUID
|
||||
|
||||
procedure From_Name(namespace: in UUID; name: in String; id: in out UUID);
|
||||
procedure From_Name
|
||||
(namespace : in UUID;
|
||||
name : in String;
|
||||
id : in out UUID);
|
||||
-- Generate a UUID based on a name
|
||||
|
||||
procedure From_String (str : in String; id : in out UUID);
|
||||
|
|
|
@ -75,7 +75,11 @@ package body AdaID.Generate is
|
|||
|
||||
|
||||
-- Generate a UUID based on a name
|
||||
procedure From_Name(namespace: in UUID; name: in String; id: in out UUID) is
|
||||
procedure From_Name
|
||||
(namespace : in UUID;
|
||||
name : in String;
|
||||
id : in out UUID)
|
||||
is
|
||||
use SHA.Process_Data;
|
||||
|
||||
c : Context;
|
||||
|
|
Loading…
Reference in New Issue