bug dans addbddassoc ....
This commit is contained in:
parent
81109494a5
commit
dd3382c5b3
|
@ -101,7 +101,7 @@ bddassoc *addbddassoc( BddSystem )
|
||||||
AssocIdent = 0;
|
AssocIdent = 0;
|
||||||
|
|
||||||
while ( ( ScanAssoc != (bddassoc *)0 ) &&
|
while ( ( ScanAssoc != (bddassoc *)0 ) &&
|
||||||
( ScanAssoc->IDENT > AssocIdent ) )
|
( ScanAssoc->IDENT >= AssocIdent ) )
|
||||||
{
|
{
|
||||||
if ( AssocIdent == BDD_MAX_SHORT )
|
if ( AssocIdent == BDD_MAX_SHORT )
|
||||||
{
|
{
|
||||||
|
|
|
@ -105,9 +105,9 @@
|
||||||
\------------------------------------------------------------*/
|
\------------------------------------------------------------*/
|
||||||
|
|
||||||
# define bdderror( E, V ) \
|
# define bdderror( E, V ) \
|
||||||
(bdd_error( (int)(E), (long)(V), basename(__FILE__), __LINE__ ))
|
(bdd_error( (int)(E), (long)(V), autbasename(__FILE__,NULL), __LINE__ ))
|
||||||
# define bddwarning( W, V1, V2 ) \
|
# define bddwarning( W, V1, V2 ) \
|
||||||
(bdd_warning( (int)(W), (long)(V1), (long)(V2), basename(__FILE__), __LINE__ ))
|
(bdd_warning( (int)(W), (long)(V1), (long)(V2), autbasename(__FILE__,NULL), __LINE__ ))
|
||||||
|
|
||||||
/*------------------------------------------------------------\
|
/*------------------------------------------------------------\
|
||||||
| |
|
| |
|
||||||
|
|
|
@ -665,11 +665,13 @@ static void TestCommandViewAssoc( String )
|
||||||
|
|
||||||
BddAssoc = BddLocalSystem->ASSOC;
|
BddAssoc = BddLocalSystem->ASSOC;
|
||||||
|
|
||||||
if ( BddAssoc != (bddassoc *)0 )
|
while ( BddAssoc != (bddassoc *)0 )
|
||||||
{
|
{
|
||||||
fprintf( stdout, "--> viewassoc\n" );
|
fprintf( stdout, "--> viewassoc %d\n", BddAssoc->IDENT );
|
||||||
|
|
||||||
viewbddassoc( (bddsystem *)0, BddAssoc, TestViewAssoc );
|
viewbddassoc( (bddsystem *)0, BddAssoc, TestViewAssoc );
|
||||||
|
|
||||||
|
BddAssoc = BddAssoc->NEXT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue