Skip to content

Commit d0e7c3d

Browse files
committed
output_instruction now nicely formats output statements
This is a cosmetic change to the formatter for goto-instruction output statements.
1 parent 7b19f1d commit d0e7c3d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/goto-programs/goto_program.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ std::ostream &goto_programt::output_instruction(
126126
out << "HAVOC_OBJECT " << format(code.op0()) << '\n';
127127
break;
128128
}
129+
else if(code.get_statement() == ID_output)
130+
{
131+
out << "OUTPUT " << format(code.op0()) << '\n';
132+
break;
133+
}
129134
// fallthrough
130135
}
131136

0 commit comments

Comments
 (0)