mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2024-11-23 04:28:49 +03:00
[FIX] Fix j2s generation issue
Aie...
This commit is contained in:
parent
cc665ac7fc
commit
33139510b9
1 changed files with 2 additions and 1 deletions
|
@ -563,11 +563,12 @@ 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)] = '}';
|
fieldType[strlen(fieldType)] = end;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue