1313#include < util/symbol.h>
1414#include < util/symbol_table.h>
1515#include < util/prefix.h>
16+ #include < util/cmdline.h>
1617#include < langapi/mode.h>
1718#include < memory>
1819
2526// / body of the _start function).
2627rebuild_goto_start_functiont::rebuild_goto_start_functiont (
2728 message_handlert &_message_handler,
29+ const cmdlinet &cmdline,
2830 symbol_tablet &symbol_table,
2931 goto_functionst &goto_functions):
30- messaget(_message_handler),
31- symbol_table(symbol_table),
32- goto_functions(goto_functions)
32+ messaget(_message_handler),
33+ cmdline(cmdline),
34+ symbol_table(symbol_table),
35+ goto_functions(goto_functions)
3336{
3437}
3538
@@ -50,6 +53,7 @@ bool rebuild_goto_start_functiont::operator()(
5053 std::unique_ptr<languaget> language=get_language_from_mode (mode);
5154 INVARIANT (language, " No language found for mode: " +id2string (mode));
5255 language->set_message_handler (get_message_handler ());
56+ language->get_language_options (cmdline);
5357
5458 // To create a new entry point we must first remove the old one
5559 remove_existing_entry_point ();
0 commit comments