diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-05-03 20:18:18 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-05-03 20:18:18 +0000 |
commit | 1433806056059339dd16ae8e431feaae23553150 (patch) | |
tree | cf678baa687b1a19e479c28a1c01470bb2f120c7 /src/parser | |
parent | 8ef2015de66fc409a2a2958b9452c0c9b1456ee3 (diff) |
Some cleanup starting off from trying to understand the sharing code. Changes include
* fixed term visitor from the bvprop branch
* removed all the warnings from builds -- warnings are there to be noted *NOT* to be used as scribbles
* moved the LogicInfo into the theory constructor
Diffstat (limited to 'src/parser')
-rw-r--r-- | src/parser/cvc/Cvc.g | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser/cvc/Cvc.g b/src/parser/cvc/Cvc.g index 411a0aea1..52d32606b 100644 --- a/src/parser/cvc/Cvc.g +++ b/src/parser/cvc/Cvc.g @@ -1199,7 +1199,7 @@ formula[CVC4::Expr& f] { f = addNots(EXPR_MANAGER, n, f); expressions.push_back(f); } - i=morecomparisons[expressions,operators]? + morecomparisons[expressions,operators]? { f = createPrecedenceTree(PARSER_STATE, EXPR_MANAGER, expressions, operators); } ) ; @@ -1219,7 +1219,7 @@ morecomparisons[std::vector<CVC4::Expr>& expressions, { f = addNots(EXPR_MANAGER, n, f); expressions.push_back(f); } - inner=morecomparisons[expressions,operators]? + morecomparisons[expressions,operators]? ) ; @@ -1462,7 +1462,7 @@ recordStore[CVC4::Expr& f] if(record.getName() != "__cvc4_record") { PARSER_STATE->parseError("record-update applied to non-record"); } - const DatatypeConstructorArg* updateArg; + const DatatypeConstructorArg* updateArg = 0; try { updateArg = &record[0][id]; } catch(IllegalArgumentException& e) { |