Input in;
std::string main_src;
std::string src;
- bool good;
- ParserMode *mode;
+ bool good = true;
+ ParserMode *mode = nullptr;
public:
Parser(IO::Base &i, const std::string &s);
statement's signature. */
bool parse_and_load(unsigned, Loader &, const LoaderAction &);
- operator bool() const { return good && in; }
+ explicit operator bool() const { return good && in; }
};
} // namespace DataFile