We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d55d3 commit be384e5Copy full SHA for be384e5
src/goto-programs/rebuild_goto_start_function.cpp
@@ -30,8 +30,9 @@ std::unique_ptr<languaget> get_entry_point_language(
30
{
31
const irep_idt &mode = get_entry_point_mode(symbol_table);
32
33
- // Get the relevant languaget to generate the new entry point with
+ // Get the relevant languaget to generate the new entry point with.
34
std::unique_ptr<languaget> language = get_language_from_mode(mode);
35
+ // This might fail if the driver program hasn't registered that language.
36
INVARIANT(language, "No language found for mode: " + id2string(mode));
37
language->set_message_handler(message_handler);
38
language->set_language_options(options);
0 commit comments