Skip to content

Commit

Permalink
fixed bug in seq_unit
Browse files Browse the repository at this point in the history
  • Loading branch information
veanes committed Aug 14, 2020
1 parent e80b143 commit 1567587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/seq_decl_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ void seq_util::re::pp::seq_unit(std::ostream& out, expr* s) {
unsigned n = r.get_unsigned();
if (32 < n && n < 127)
out << (char)n;
else if (n < 10)
else if (n < 16)
out << "\\x0" << std::hex << n;
else
out << "\\x" << std::hex << n;
Expand Down

0 comments on commit 1567587

Please sign in to comment.