3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-06 09:00:52 +00:00

Fix quoting in low-level pretty printer (#9716)

Co-authored-by: Can Cebeci <t-cancebeci@microsoft.com>
This commit is contained in:
Can Cebeci 2026-06-04 15:48:27 -07:00 committed by GitHub
parent 87c22204a4
commit 5ebf5a0d9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ Revision History:
#include "ast/for_each_ast.h" #include "ast/for_each_ast.h"
#include "ast/arith_decl_plugin.h" #include "ast/arith_decl_plugin.h"
#include "ast/datatype_decl_plugin.h" #include "ast/datatype_decl_plugin.h"
#include "ast/ast_smt2_pp.h"
// #define AST_LL_PP_SHOW_FAMILY_NAME // #define AST_LL_PP_SHOW_FAMILY_NAME
@ -44,7 +45,7 @@ class ll_printer {
} }
void display_name(func_decl * decl) { void display_name(func_decl * decl) {
m_out << decl->get_name(); m_out << ensure_quote(decl->get_name());
} }
bool process_numeral(expr * n) { bool process_numeral(expr * n) {