remove Error:/Warning: prefix from VLerror/VLwarn

This commit is contained in:
Stefan Biereigel 2019-07-23 18:58:20 +02:00
parent c6cf83a13a
commit ca19ebe5d5
1 changed files with 2 additions and 2 deletions

View File

@ -42,13 +42,13 @@ std::ostream& operator << (std::ostream&o, const YYLTYPE&loc)
void VLwarn(const char*msg)
{
warn_count += 1;
cerr << yylloc.text << ":" << yylloc.first_line << ": Warning: " << msg << endl;
cerr << yylloc.text << ":" << yylloc.first_line << ": " << msg << endl;
}
void VLerror(const char*msg)
{
error_count += 1;
cerr << yylloc.text << ":" << yylloc.first_line << ": Error: " << msg << endl;
cerr << yylloc.text << ":" << yylloc.first_line << ": " << msg << endl;
}
void VLerror(const YYLTYPE&loc, const char*msg, ...)