ParserMode(Input &i, const std::string &s): in(i), src(s) { }
public:
- virtual ~ParserMode() { }
+ virtual ~ParserMode() = default;
virtual Statement parse() = 0;
virtual void process_control_statement(const Statement &) { }
- virtual const StatementKey *peek(unsigned) { return 0; }
+ virtual const StatementKey *peek(unsigned) { return nullptr; }
virtual bool parse_and_load(unsigned, Loader &, const LoaderAction &) { return false; }
};