@@ -1081,7 +1081,7 @@ Derivative = {type = "Real"}
10811081```
10821082#### Worst case allocation
10831083
1084- Integer variable can be used to define The maximum length of file names in a
1084+ Integer variables can be used to define the maximum length of file names in a
10851085file-system:
10861086``` toml
10871087[configuration .variables ]
@@ -1100,24 +1100,24 @@ Sort_Algorithm = {type = "Enum", values = ["bubble", "quick", "merge"]}
11001100The generated GPR will look something like this:
11011101``` ada
11021102project Test_Config is
1103- type Sort_Algorith_Kind is ("bubble", "quick", "merge");
1104- Sort_Algorith : Sort_Algorith_Kind := "quick";
1103+ type Sort_Algorithm_Kind is ("bubble", "quick", "merge");
1104+ Sort_Algorithm : Sort_Algorithm_Kind := "quick";
11051105end Test_Config;
11061106```
11071107
11081108It can be used in the main GPR file like so:
11091109
11101110``` ada
11111111 package Naming is
1112- for Body ("Test.Sort") use "test-sort__" & Test_Config.Sort_Algorith ;
1112+ for Body ("Test.Sort") use "test-sort__" & Test_Config.Sort_Algorithm ;
11131113 end Naming;
11141114```
11151115With the files ` test-sort__bubble.adb ` , ` test-sort__quick.adb ` and
11161116` test-sort__merge.adb ` each implementing a different algorithm.
11171117
11181118## Platform Specific Code
11191119
1120- In the crate configuration Alire also generates a few built-in values to
1120+ In the crate configuration, Alire also generates a few built-in values to
11211121identify the host platform:
11221122 - ` Alire_Host_OS `
11231123 - ` Alire_Host_Arch `
@@ -1177,7 +1177,7 @@ By default, the root crate is in `Development` and the dependencies are in
11771177Each crate can customize the compiler switches corresponding to its profiles
11781178using the ` [build-switches] ` table. In general, this should be avoided to
11791179preserve consistency in the ecosystem. However, there are cases where it makes
1180- sense for a crates to change its build switches. For instance, a SPARK crate
1180+ sense for a crate to change its build switches. For instance, a SPARK crate
11811181that is proved to be safe from errors can disable run-time checks in all
11821182profiles:
11831183``` toml
@@ -1198,7 +1198,7 @@ Alire will generate a list of switches in the crate configuration GPR file. It
11981198will look something like this:
11991199
12001200``` ada
1201- abstract project my_crate_Config is
1201+ abstract project My_Crate_Config is
12021202 [...]
12031203 Ada_Compiler_Switches := External_As_List ("ADAFLAGS", " ") &
12041204 (
0 commit comments