diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-11-16 10:40:30 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 10:40:30 -0600 |
commit | a24a67080965f676335388c177d7eb8a9d3fdb13 (patch) | |
tree | dd34520a8206a8d42d28aaca6df15b7879f6b831 /src/parser/smt2/smt2.cpp | |
parent | db84323caa3009cf418f959313e49f5bea5d35a6 (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.cpp | 5 |
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 |