struct Location
{
std::string name;
- unsigned line;
+ unsigned line = 0;
- Location(): line(0) { }
+ Location() = default;
Location(const std::string &n, unsigned l): name(n), line(l) { }
};
std::string::const_iterator iter;
std::string::const_iterator source_end;
Location location;
- bool progress_mark;
- bool allow_preprocess;
- bool suppress_line_advance;
+ bool progress_mark = false;
+ bool allow_preprocess = true;
+ bool suppress_line_advance = false;
std::string last_token;
std::deque<std::string> next_tokens;