From: Kshitij Bansal Date: Thu, 10 Jul 2014 20:05:25 +0000 (-0400) Subject: rm warning X-Git-Tag: cvc5-1.0.0~6701^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8e0ce673ba00533a663804cf74500e4d9a3a5cb;p=cvc5.git rm warning --- diff --git a/src/parser/smt2/Smt2.g b/src/parser/smt2/Smt2.g index 085cc11c8..d512437af 100644 --- a/src/parser/smt2/Smt2.g +++ b/src/parser/smt2/Smt2.g @@ -1206,7 +1206,7 @@ indexedFunctionName[CVC4::Expr& op] ( 'extract' n1=INTEGER_LITERAL n2=INTEGER_LITERAL { op = MK_CONST(BitVectorExtract(AntlrInput::tokenToUnsigned($n1), AntlrInput::tokenToUnsigned($n2))); } - | 'repeat' n=INTEGER_LITERAL + | ('repeat' INTEGER_LITERAL)=>'repeat' n=INTEGER_LITERAL { op = MK_CONST(BitVectorRepeat(AntlrInput::tokenToUnsigned($n))); } | 'zero_extend' n=INTEGER_LITERAL { op = MK_CONST(BitVectorZeroExtend(AntlrInput::tokenToUnsigned($n))); }