File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ generic_includes(symtab2gb)
7
7
8
8
target_link_libraries (symtab2gb
9
9
util
10
+ ansi-c
10
11
goto-programs
11
12
json-symtab-language )
12
13
Original file line number Diff line number Diff line change 4
4
# Empty last line
5
5
6
6
OBJ += \
7
+ ../ansi-c/ansi-c$(LIBEXT ) \
7
8
../util/util$(LIBEXT ) \
8
9
../goto-programs/goto-programs$(LIBEXT ) \
9
10
../big-int/big-int$(LIBEXT ) \
Original file line number Diff line number Diff line change 2
2
json-symtab-language
3
3
langapi
4
4
goto-programs
5
+ ansi-c
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ Author: Diffblue Ltd.
12
12
#include < iostream>
13
13
#include < string>
14
14
15
+ #include < ansi-c/ansi_c_language.h>
16
+
15
17
#include < goto-programs/goto_convert_functions.h>
16
18
#include < goto-programs/goto_model.h>
17
19
#include < goto-programs/link_goto_model.h>
@@ -113,6 +115,8 @@ int symtab2gb_parse_optionst::doit()
113
115
gb_filename = cmdline.get_value (SYMTAB2GB_OUT_FILE_OPT);
114
116
}
115
117
register_language (new_json_symtab_language);
118
+ // Workaround to allow external front-ends to use "C" mode
119
+ register_language (new_ansi_c_language);
116
120
config.set (cmdline);
117
121
run_symtab2gb (symtab_filenames, gb_filename);
118
122
return CPROVER_EXIT_SUCCESS;
You can’t perform that action at this time.
0 commit comments