projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e23a40c
)
Fix for ANTLR warning.
author
Morgan Deters
<mdeters@cs.nyu.edu>
Fri, 27 Dec 2013 17:21:20 +0000
(12:21 -0500)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Fri, 27 Dec 2013 17:21:20 +0000
(12:21 -0500)
src/parser/smt2/Smt2.g
patch
|
blob
|
history
diff --git
a/src/parser/smt2/Smt2.g
b/src/parser/smt2/Smt2.g
index 13850aba6962fdf89000f816e3ff69de0daa85b9..efddb031b7092ef126c1c3216bdb7812d6939ffa 100644
(file)
--- a/
src/parser/smt2/Smt2.g
+++ b/
src/parser/smt2/Smt2.g
@@
-338,7
+338,7
@@
command returns [CVC4::Command* cmd = NULL]
GET_VALUE_TOK { PARSER_STATE->checkThatLogicIsSet(); }
( LPAREN_TOK termList[terms,expr] RPAREN_TOK
{ $cmd = new GetValueCommand(terms); }
- |
term[expr, expr2]
+ |
~LPAREN_TOK
{ PARSER_STATE->parseError("The get-value command expects a list of terms. Perhaps you forgot a pair of parentheses?"); } )
| /* get-assignment */
GET_ASSIGNMENT_TOK { PARSER_STATE->checkThatLogicIsSet(); }