mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-03 21:13:50 +03:00
Fix the "line counting" on parser errors
This commit is contained in:
@@ -169,11 +169,11 @@ void Driver::error(const yy::location& l, const std::string& m,
|
||||
parserError << "Line: " << l.end.line << ". ";
|
||||
parserError << "Column: " << l.end.column << ". ";
|
||||
}
|
||||
/*
|
||||
|
||||
if (m.empty() == false) {
|
||||
parserError << " " << m << ".";
|
||||
parserError << "" << m << " ";
|
||||
}
|
||||
*/
|
||||
|
||||
if (c.empty() == false) {
|
||||
parserError << c;
|
||||
}
|
||||
|
Reference in New Issue
Block a user