Bugfix: Double '{' with --private option

This commit is contained in:
Starbeamrainbowlabs 2016-08-10 09:35:39 +01:00
parent d1c54feaff
commit f2454ce896

View file

@ -140,10 +140,10 @@ namespace cscz
// Public property associated with above private data member
properties.WriteLine("\tpublic {0} {1}", datatypeName, publicDataMemberName);
properties.WriteLine("\t{{");
properties.WriteLine("\t{");
properties.WriteLine("\t\tget {{ return {0}; }}", privateDataMemberName);
properties.WriteLine("\t\tset {{ {0} = value; }}", privateDataMemberName);
properties.WriteLine("\t}}");
properties.WriteLine("\t}");
// Constructor body
constructorBody.WriteLine("\t\t{0} = in{0};", publicDataMemberName);