summaryrefslogtreecommitdiff
path: root/src/printer
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2014-05-29 20:13:52 -0400
committerKshitij Bansal <kshitij@cs.nyu.edu>2014-06-06 15:40:36 -0400
commit5c42662fe5cea3051341c8292202357e2a5e7dd3 (patch)
tree94aa636b95c7a81594a3d82f236263c91b0f6d0f /src/printer
parent0dce010bea47bc6a318eece2bd92ed2305b64c21 (diff)
Sets translate, and other short fixes
- $ is a simple symbol is smt2. - ever found yourself counting in kind.h? no longer. - expose parser "logic is set" state for smt/smt2 (any better way?) - a more helpful assertion message in smt_engine
Diffstat (limited to 'src/printer')
-rw-r--r--src/printer/smt2/smt2_printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp
index 8201c9b7c..8e5a9dae4 100644
--- a/src/printer/smt2/smt2_printer.cpp
+++ b/src/printer/smt2/smt2_printer.cpp
@@ -713,7 +713,7 @@ static inline void toStream(std::ostream& out, const SExpr& sexpr) throw() {
// SMT-LIB quoting for symbols
static std::string quoteSymbol(std::string s) {
- if(s.find_first_not_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789~!@%^&*_-+=<>.?/") == std::string::npos) {
+ if(s.find_first_not_of("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789~!@$%^&*_-+=<>.?/") == std::string::npos) {
// simple unquoted symbol
return s;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback