summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quantifiers_attributes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/quantifiers/quantifiers_attributes.cpp')
-rw-r--r--src/theory/quantifiers/quantifiers_attributes.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/theory/quantifiers/quantifiers_attributes.cpp b/src/theory/quantifiers/quantifiers_attributes.cpp
index ac3fb85d1..c9a7f07ab 100644
--- a/src/theory/quantifiers/quantifiers_attributes.cpp
+++ b/src/theory/quantifiers/quantifiers_attributes.cpp
@@ -51,11 +51,12 @@ void QuantAttributes::setUserAttribute( const std::string& attr, Node n, std::ve
Trace("quant-attr-debug") << "Set sygus " << n << std::endl;
SygusAttribute ca;
n.setAttribute( ca, true );
- }else if( attr=="sygus-synth-fun" ){
+ } else if (attr == "sygus-synth-grammar") {
Assert( node_values.size()==1 );
- Trace("quant-attr-debug") << "Set sygus synth fun " << n << " to " << node_values[0] << std::endl;
- SygusSynthFunAttribute ssfa;
- n.setAttribute( ssfa, node_values[0] );
+ Trace("quant-attr-debug") << "Set sygus synth grammar " << n << " to "
+ << node_values[0] << std::endl;
+ SygusSynthGrammarAttribute ssg;
+ n.setAttribute(ssg, node_values[0]);
}else if( attr=="sygus-synth-fun-var-list" ){
Assert( node_values.size()==1 );
Trace("quant-attr-debug") << "Set sygus synth fun var list to " << n << " to " << node_values[0] << std::endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback