mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 22:23:22 +00:00
seq_decl: fix build with stricter compilers
get rid of 32 rellocations as a nice side-effect
This commit is contained in:
parent
bc123dc79b
commit
465d28e160
1 changed files with 3 additions and 2 deletions
|
@ -80,7 +80,8 @@ zstring zstring::replace(zstring const& src, zstring const& dst) const {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char* esc_table[32] = { "\\0", "^A", "^B", "^C", "^D", "^E", "^F", "\\a", "\\b", "\\t", "\\n", "\\v", "\\f", "\\r", "^N",
|
static const char esc_table[32][3] =
|
||||||
|
{ "\\0", "^A", "^B", "^C", "^D", "^E", "^F", "\\a", "\\b", "\\t", "\\n", "\\v", "\\f", "\\r", "^N",
|
||||||
"^O", "^P", "^Q", "^R", "^S", "^T", "^U", "^V","^W","^X","^Y","^Z","\\e","^\\","^]","^^","^_"};
|
"^O", "^P", "^Q", "^R", "^S", "^T", "^U", "^V","^W","^X","^Y","^Z","\\e","^\\","^]","^^","^_"};
|
||||||
|
|
||||||
std::string zstring::encode() const {
|
std::string zstring::encode() const {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue