summaryrefslogtreecommitdiffstats
path: root/src/base/wlc/wlcReadVer.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-05-23 10:42:53 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-05-23 10:42:53 -0700
commitc688d1b158170b83d15dd9005b0534c42957f507 (patch)
tree4f155dd7d5b9e234a40fc74be88e1ca954758a9c /src/base/wlc/wlcReadVer.c
parent0f29f0aec9b6b8fe3a0b83ed52cb1dda38819650 (diff)
downloadabc-c688d1b158170b83d15dd9005b0534c42957f507.tar.gz
abc-c688d1b158170b83d15dd9005b0534c42957f507.tar.bz2
abc-c688d1b158170b83d15dd9005b0534c42957f507.zip
Improving SMT-LIB parser.
Diffstat (limited to 'src/base/wlc/wlcReadVer.c')
-rw-r--r--src/base/wlc/wlcReadVer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/wlc/wlcReadVer.c b/src/base/wlc/wlcReadVer.c
index 7683f8a6..7753d24d 100644
--- a/src/base/wlc/wlcReadVer.c
+++ b/src/base/wlc/wlcReadVer.c
@@ -795,7 +795,7 @@ static inline int Wlc_PrsFindDefinition( Wlc_Prs_t * p, char * pStr, Vec_Int_t *
else if ( pStr[0] == '-' ) pStr += 1, Type = WLC_OBJ_ARI_SUB;
else if ( pStr[0] == '*' && pStr[1] != '*' ) pStr += 1, Type = WLC_OBJ_ARI_MULTI;
else if ( pStr[0] == '/' ) pStr += 1, Type = WLC_OBJ_ARI_DIVIDE;
- else if ( pStr[0] == '%' ) pStr += 1, Type = WLC_OBJ_ARI_MODULUS;
+ else if ( pStr[0] == '%' ) pStr += 1, Type = WLC_OBJ_ARI_REM;
else if ( pStr[0] == '*' && pStr[1] == '*' ) pStr += 2, Type = WLC_OBJ_ARI_POWER;
else return Wlc_PrsWriteErrorMessage( p, pStr, "Unsupported operation (%c).", pStr[0] );
if ( !(pStr = Wlc_PrsReadName(p, pStr+1, vFanins)) )