Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Test.class
--function Test.main --no-simplify --unwind 10 --show-vcc
^EXIT=0$
^SIGNAL=0$
"java::Impl1" = cast\(\{ \{ "java::Impl1"\}, 0\}, struct \{ struct \{ string @class_identifier \} @java.lang.Object \}\)\.@java.lang.Object\.@class_identifier
"java::Impl1" = cast\(\{ \{ "java::Impl1" \}, 0 \}, struct \{ struct \{ string @class_identifier \} @java.lang.Object \}\)\.@java.lang.Object\.@class_identifier
--
^warning: ignoring
--
Expand Down
2 changes: 1 addition & 1 deletion src/util/format_expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ std::ostream &format_rec(std::ostream &os, const exprt &expr)
os << format(op);
}

return os << '}';
return os << " }";
}
else if(id == ID_if)
{
Expand Down
2 changes: 1 addition & 1 deletion src/util/format_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ std::ostream &format_rec(std::ostream &os, const typet &type)
const auto &id = type.id();

if(id == ID_pointer)
return os << '*' << format(to_pointer_type(type).subtype());
return os << format(to_pointer_type(type).subtype()) << '*';
else if(id == ID_array)
{
const auto &t = to_array_type(type);
Expand Down