We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15abe44 commit 9a2cf90Copy full SHA for 9a2cf90
src/base/io/ioJsonc.c
@@ -709,7 +709,7 @@ void Jsonc_WriteTest( Abc_Ntk_t * p, char * pFileName )
709
fprintf( pFile, " {\n" );
710
fprintf( pFile, " \"type\": \"%s\",\n", "instance" );
711
fprintf( pFile, " \"name\": \"%s\",\n", Mio_GateReadName(pGate) );
712
- fprintf( pFile, " \"fanins\": [\n" );
+ fprintf( pFile, " \"fanins\":\n" );
713
714
for ( pPin = Mio_GateReadPins(pGate), k = 0; pPin; pPin = Mio_PinReadNext(pPin), k++ )
715
{
@@ -722,7 +722,7 @@ void Jsonc_WriteTest( Abc_Ntk_t * p, char * pFileName )
722
fprintf( pFile, " }%s\n", Mio_PinReadNext(pPin) ? "," : "" );
723
}
724
fprintf( pFile, " }\n" );
725
- fprintf( pFile, " ]\n" );
+ //fprintf( pFile, " ]\n" );
726
fprintf( pFile, " }%s\n", ++Counter == Total ? "" : "," );
727
728
Abc_NtkForEachPo( p, pObj, i )
0 commit comments