summaryrefslogtreecommitdiff
path: root/src/parser/smt2/smt2.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-11-16 10:40:30 -0600
committerGitHub <noreply@github.com>2020-11-16 10:40:30 -0600
commita24a67080965f676335388c177d7eb8a9d3fdb13 (patch)
treedd34520a8206a8d42d28aaca6df15b7879f6b831 /src/parser/smt2/smt2.cpp
parentdb84323caa3009cf418f959313e49f5bea5d35a6 (diff)
Cleaning up scopes in preparation for symbol manager (#5442)
This changes the default of Parser::pushScope and prepares symbol manager further for maintaining expression names.
Diffstat (limited to 'src/parser/smt2/smt2.cpp')
-rw-r--r--src/parser/smt2/smt2.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/parser/smt2/smt2.cpp b/src/parser/smt2/smt2.cpp
index 1decb3b1c..892c628dc 100644
--- a/src/parser/smt2/smt2.cpp
+++ b/src/parser/smt2/smt2.cpp
@@ -452,10 +452,9 @@ void Smt2::pushDefineFunRecScope(
const std::vector<std::pair<std::string, api::Sort>>& sortedVarNames,
api::Term func,
const std::vector<api::Term>& flattenVars,
- std::vector<api::Term>& bvs,
- bool bindingLevel)
+ std::vector<api::Term>& bvs)
{
- pushScope(bindingLevel);
+ pushScope();
// bound variables are those that are explicitly named in the preamble
// of the define-fun(s)-rec command, we define them here
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback