summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-10-02 11:14:34 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-10-02 11:14:34 -0700
commitc01f5fc4e024b01a6721b591c6ca47453a04b1fb (patch)
treea8eb53b4049e7ea0e69be476e0af88ca75ded826 /src/base
parent7f3842e1861c12fdd1827ea7fda96f6c8b7fc8ca (diff)
downloadabc-c01f5fc4e024b01a6721b591c6ca47453a04b1fb.tar.gz
abc-c01f5fc4e024b01a6721b591c6ca47453a04b1fb.tar.bz2
abc-c01f5fc4e024b01a6721b591c6ca47453a04b1fb.zip
Adding module name when reading SMT-LIB from stdin.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/wlc/wlcStdin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/wlc/wlcStdin.c b/src/base/wlc/wlcStdin.c
index 86092f95..49c25ad0 100644
--- a/src/base/wlc/wlcStdin.c
+++ b/src/base/wlc/wlcStdin.c
@@ -192,7 +192,7 @@ int Wlc_StdinProcessSmt( Abc_Frame_t * pAbc, char * pCmd )
// collect stdin until (check-sat)
Vec_Str_t * vInput = Wlc_StdinCollectProblem( "(check-sat)" );
// parse input
- Wlc_Ntk_t * pNtk = Wlc_ReadSmtBuffer( NULL, Vec_StrArray(vInput), Vec_StrArray(vInput) + Vec_StrSize(vInput), 0, 0 );
+ Wlc_Ntk_t * pNtk = Wlc_ReadSmtBuffer( "top", Vec_StrArray(vInput), Vec_StrArray(vInput) + Vec_StrSize(vInput), 0, 0 );
Vec_StrFree( vInput );
// install current network
Wlc_SetNtk( pAbc, pNtk );