Fixed a critical bug in Array field name generation. Added DNAAttribute and DNAListAttribute classes
This commit is contained in:
@@ -432,7 +432,7 @@ namespace CodeGenerator {
|
||||
var dimensions = GetArrayDimensions(name);
|
||||
|
||||
// Get clean field name (without array brackets)
|
||||
name = field.Name.ParseFName().Substring(0, field.Name.IndexOf('['));
|
||||
name = field.Name.Substring(0, field.Name.IndexOf('[')).ParseFName();
|
||||
|
||||
//Check if the type is a built-in type or a custom type
|
||||
if (t != null) cmf = new(t, name); //Built-in type
|
||||
|
||||
Reference in New Issue
Block a user