Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/java_bytecode/java_bytecode_language.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Author: Daniel Kroening, [email protected]
class java_bytecode_languaget:public languaget
{
public:
virtual void get_language_options(const cmdlinet &);
virtual void get_language_options(const cmdlinet &) override;

virtual bool preprocess(
std::istream &instream,
Expand Down
1 change: 1 addition & 0 deletions src/langapi/language_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ bool language_uit::parse(const std::string &filename)

languaget &language=*lf.language;
language.set_message_handler(get_message_handler());
language.get_language_options(_cmdline);

status() << "Parsing " << filename << eom;

Expand Down
4 changes: 4 additions & 0 deletions src/util/language.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ class symbol_tablet;
class exprt;
class namespacet;
class typet;
class cmdlinet;

class languaget:public messaget
{
public:
// Parse language-specific options
virtual void get_language_options(const cmdlinet &) {}

// parse file

virtual bool preprocess(
Expand Down