File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 19
19
class java_bytecode_languaget :public languaget
20
20
{
21
21
public:
22
- virtual void get_language_options (const cmdlinet &);
22
+ virtual void get_language_options (const cmdlinet &) override ;
23
23
24
24
virtual bool preprocess (
25
25
std::istream &instream,
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ bool language_uit::parse(const std::string &filename)
121
121
122
122
languaget &language=*lf.language ;
123
123
language.set_message_handler (get_message_handler ());
124
+ language.get_language_options (_cmdline);
124
125
125
126
status () << " Parsing " << filename << eom;
126
127
Original file line number Diff line number Diff line change @@ -19,10 +19,14 @@ class symbol_tablet;
19
19
class exprt ;
20
20
class namespacet ;
21
21
class typet ;
22
+ class cmdlinet ;
22
23
23
24
class languaget :public messaget
24
25
{
25
26
public:
27
+ // Parse language-specific options
28
+ virtual void get_language_options (const cmdlinet &) {}
29
+
26
30
// parse file
27
31
28
32
virtual bool preprocess (
You can’t perform that action at this time.
0 commit comments