Fix dbj "member" name having a space
This commit is contained in:
parent
8ede3abcab
commit
2d2d030145
|
@ -1169,7 +1169,7 @@ bool Compiler::WriteDbjFile(const char* filename)
|
||||||
break;
|
break;
|
||||||
case DT_TYPE_STRUCT:
|
case DT_TYPE_STRUCT:
|
||||||
{
|
{
|
||||||
fprintf(file, "\t\t{\"name\": \"%s\", \"typeid\": %d, \"size\": %d, \"type\": \"struct\",\" members\": [\n", dec->mIdent ? dec->mIdent->mString : "", i, dec->mSize);
|
fprintf(file, "\t\t{\"name\": \"%s\", \"typeid\": %d, \"size\": %d, \"type\": \"struct\",\"members\": [\n", dec->mIdent ? dec->mIdent->mString : "", i, dec->mSize);
|
||||||
bool tfirst = true;
|
bool tfirst = true;
|
||||||
Declaration* mdec = dec->mParams;
|
Declaration* mdec = dec->mParams;
|
||||||
while (mdec)
|
while (mdec)
|
||||||
|
|
Loading…
Reference in New Issue