Skip to content

Commit 3dcf747

Browse files
committed
output_instruction now nicely formats output statements
1 parent 92004d6 commit 3dcf747

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)