Skip to content

Commit 45b68d5

Browse files
author
Peter Schrammel
committed
call show_goto_functions
1 parent 694b8cf commit 45b68d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Author: Daniel Kroening, [email protected]
3838
#include <goto-programs/loop_ids.h>
3939
#include <goto-programs/link_to_library.h>
4040
#include <goto-programs/remove_skip.h>
41+
#include <goto-programs/show_goto_functions.h>
4142

4243
#include <goto-instrument/full_slicer.h>
4344
#include <goto-instrument/nondet_static.h>
@@ -965,7 +966,7 @@ bool cbmc_parse_optionst::process_goto_program(
965966
if(cmdline.isset("show-goto-functions"))
966967
{
967968
namespacet ns(symbol_table);
968-
goto_functions.output(ns, std::cout);
969+
show_goto_functions(ns, get_ui(), goto_functions);
969970
return true;
970971
}
971972
}

0 commit comments

Comments
 (0)