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 1919class java_bytecode_languaget :public languaget
2020{
2121public:
22- virtual void get_language_options (const cmdlinet &);
22+ virtual void get_language_options (const cmdlinet &) override ;
2323
2424 virtual bool preprocess (
2525 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)
121121
122122 languaget &language=*lf.language ;
123123 language.set_message_handler (get_message_handler ());
124+ language.get_language_options (_cmdline);
124125
125126 status () << " Parsing " << filename << eom;
126127
Original file line number Diff line number Diff line change @@ -19,10 +19,14 @@ class symbol_tablet;
1919class exprt ;
2020class namespacet ;
2121class typet ;
22+ class cmdlinet ;
2223
2324class languaget :public messaget
2425{
2526public:
27+ // Parse language-specific options
28+ virtual void get_language_options (const cmdlinet &) {}
29+
2630 // parse file
2731
2832 virtual bool preprocess (
You can’t perform that action at this time.
0 commit comments