Compare commits

..

No commits in common. "9c6781c4589be442efba753f6c6839c698b6796c" and "4831f2e03d96ad3026d7b035fe88ea1f7894b9bc" have entirely different histories.

View file

@ -563,12 +563,11 @@ Main(Array * args)
if (IsDelimited(fieldType, '{', '}') || if (IsDelimited(fieldType, '{', '}') ||
IsDelimited(fieldType, '[', ']')) IsDelimited(fieldType, '[', ']'))
{ {
char end = fieldType[strlen(fieldType) - 1];
fieldType[strlen(fieldType) - 1] = '\0'; fieldType[strlen(fieldType) - 1] = '\0';
StreamPrintf(headerFile, " %s /* of %s */ %s;\n", cType, fieldType + 1, field); StreamPrintf(headerFile, " %s /* of %s */ %s;\n", cType, fieldType + 1, field);
fieldType[strlen(fieldType)] = end; fieldType[strlen(fieldType)] = '}';
} }
else else
{ {