File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ Author: Diffblue Ltd.
17
17
#include < goto-programs/link_goto_model.h>
18
18
#include < goto-programs/write_goto_binary.h>
19
19
#include < json-symtab-language/json_symtab_language.h>
20
+
21
+ #include < util/config.h>
20
22
#include < util/exception_utils.h>
21
23
#include < util/exit_codes.h>
22
24
#include < util/invariant.h>
@@ -81,6 +83,7 @@ static void run_symtab2gb(
81
83
throw invalid_source_file_exceptiont{
82
84
" failed to typecheck symbol table from file '" + symtab_filename + " '" };
83
85
}
86
+ config.set_from_symbol_table (symtab);
84
87
goto_modelt goto_model{};
85
88
goto_model.symbol_table = symtab;
86
89
goto_convert (goto_model, message_handler);
@@ -110,6 +113,7 @@ int symtab2gb_parse_optionst::doit()
110
113
{
111
114
gb_filename = cmdline.get_value (SYMTAB2GB_OUT_FILE_OPT);
112
115
}
116
+ config.set (cmdline);
113
117
run_symtab2gb (symtab_filenames, gb_filename);
114
118
return CPROVER_EXIT_SUCCESS;
115
119
}
You can’t perform that action at this time.
0 commit comments