diff options
Diffstat (limited to 'src/parser/tptp/tptp_input.h')
-rw-r--r-- | src/parser/tptp/tptp_input.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/parser/tptp/tptp_input.h b/src/parser/tptp/tptp_input.h index a1f70641e..5dd56034d 100644 --- a/src/parser/tptp/tptp_input.h +++ b/src/parser/tptp/tptp_input.h @@ -50,8 +50,7 @@ class TptpInput : public AntlrInput { */ void init(); -public: - + public: /** * Create an input. * @@ -63,19 +62,19 @@ public: virtual ~TptpInput(); /** Get the language that this Input is reading. */ - InputLanguage getLanguage() const throw() { + InputLanguage getLanguage() const override + { return language::input::LANG_TPTP; } -protected: - + protected: /** * Parse a command from the input. Returns <code>NULL</code> if * there is no command there to parse. * * @throws ParserException if an error is encountered during parsing. */ - Command* parseCommand(); + Command* parseCommand() override; /** * Parse an expression from the input. Returns a null |