mirror of https://github.com/YosysHQ/abc.git
Bug fix in reading box library.
This commit is contained in:
parent
259d53ca3e
commit
55f0a2805c
|
|
@ -250,7 +250,7 @@ If_LibBox_t * If_LibBoxRead2( char * pFileName )
|
|||
char * If_LibBoxGetToken( FILE * pFile )
|
||||
{
|
||||
static char pBuffer[1000];
|
||||
char c, * pTemp = pBuffer;
|
||||
int c; char * pTemp = pBuffer;
|
||||
while ( (c = fgetc(pFile)) != EOF )
|
||||
{
|
||||
if ( c == '#' )
|
||||
|
|
|
|||
Loading…
Reference in New Issue