diff --git a/README.md b/README.md index ce7843a..2affd5f 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,12 @@ struct Child { @INI("The age of the child") int age; } -@INI("A Spose") -struct Spose { - @INI("The age of the spose") int age; +@INI("A Spouse") +struct Spouse { + @INI("The age of the spouse") int age; // Nesting - @INI("The House of the spose") House house; + @INI("The House of the spouse") House house; } @INI("A Dog") @@ -48,7 +48,7 @@ struct Person { int dontShowThis; // REGARD the nesting - @INI("A Spose") Spose spose; + @INI("A Spouse") Spouse spouse; // REGARD the nesting @INI("The family dog") Dog dog; @@ -76,11 +76,11 @@ void main() { p.someStrings ~= "Hello"; p.someStrings ~= "World"; - p.spose.firstname = "Molly"; - p.spose.age = 72; + p.spouse.firstname = "Molly"; + p.spouse.age = 72; - p.spose.house.rooms = 5; - p.spose.house.floors = 2; + p.spouse.house.rooms = 5; + p.spouse.house.floors = 2; p.dog.name = "Wuff"; diff --git a/test/filename.ini b/test/filename.ini index 0e22a18..1a6828c 100644 --- a/test/filename.ini +++ b/test/filename.ini @@ -15,9 +15,9 @@ someStrings=":::60180,asd,Hello,World" someInts="1,2" ; A Spouse [inifiled.Spouse] -; The firstname of the spose +; The firstname of the spouse firstname="World" -; The age of the spose +; The age of the spouse age="72" ; A House [inifiled.House]