summaryrefslogtreecommitdiff
path: root/src/parser/smt2
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-06-11 16:47:13 -0500
committerGitHub <noreply@github.com>2019-06-11 16:47:13 -0500
commit3c2099bc67595bc015eb3b491e1110b1e94c0d25 (patch)
tree105ccd6cc409aab7667728ddb3b6c36a6ecfa22f /src/parser/smt2
parenta8e9dd456af98c909a19da7a8458aab9fa7f2ea2 (diff)
Do not require sygus constructors to be flattened (#3049)
Diffstat (limited to 'src/parser/smt2')
-rw-r--r--src/parser/smt2/Smt2.g2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/smt2/Smt2.g b/src/parser/smt2/Smt2.g
index 9ba7f4b2e..b224032e8 100644
--- a/src/parser/smt2/Smt2.g
+++ b/src/parser/smt2/Smt2.g
@@ -1004,7 +1004,7 @@ sygusGTerm[CVC4::SygusGTerm& sgt, std::string& fun]
}else if( PARSER_STATE->isDeclared(name,SYM_VARIABLE) ){
Debug("parser-sygus") << "Sygus grammar " << fun << " : symbol "
<< name << std::endl;
- sgt.d_expr = PARSER_STATE->getVariable(name);
+ sgt.d_expr = PARSER_STATE->getExpressionForName(name);
sgt.d_name = name;
sgt.d_gterm_type = SygusGTerm::gterm_op;
}else{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback