//--------------------------------------------------------------------------- #include "CommonCheck.h" #include "tokenize.h" #include #include //--------------------------------------------------------------------------- std::string FileLine(TOKEN *tok) { std::ostringstream ostr; ostr << "[" << Files[tok->FileIndex] << ":" << tok->linenr << "]"; return ostr.str(); } //--------------------------------------------------------------------------- void ReportErr(const std::string errmsg) { std::cerr << errmsg << std::endl; } //---------------------------------------------------------------------------