58 const std::string& sname =
"stream input");
66 const std::string& sname =
"string stream");
85 void error(
const std::string& m);
bool parse_file(const std::string &filename)
bool parse_string(const std::string &input, const std::string &sname="string stream")
void error(const class location &l, const std::string &m)
bool trace_scanning
enable debug output in the flex scanner
class SlamContext & slamContext
bool trace_parsing
enable debug output in the bison parser
bool parse_stream(std::istream &in, const std::string &sname="stream input")
Driver(class SlamContext &slamContext_)
construct a new parser driver context
std::string streamname
stream name (file or input stream) used for error messages.