diff options
author | Tim King <taking@cs.nyu.edu> | 2012-11-14 23:49:07 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-11-14 23:49:07 +0000 |
commit | 19abe15ccc1e310ae3f726b351b0023670ba7962 (patch) | |
tree | 66848c129df4493ab068885fcb0efcad53c5d5e5 /src/parser/parser.cpp | |
parent | 8a672c060d2b3946c542c82bd6ca8f89892216ee (diff) |
Fix for bug 407. mkAnonymousFunction() in the parser no longer uses ':'. CVC printer now properly prints LAMBDAs. Model builing now gives bound variables names that can be parsed bypresentation language.
Diffstat (limited to 'src/parser/parser.cpp')
-rw-r--r-- | src/parser/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/parser.cpp b/src/parser/parser.cpp index a469c6fc7..ef386f57e 100644 --- a/src/parser/parser.cpp +++ b/src/parser/parser.cpp @@ -164,7 +164,7 @@ Parser::mkFunction(const std::string& name, const Type& type, Expr Parser::mkAnonymousFunction(const std::string& prefix, const Type& type) { stringstream name; - name << prefix << ':' << ++d_anonymousFunctionCount; + name << prefix << "_anon_" << ++d_anonymousFunctionCount; return mkFunction(name.str(), type); } |