mirror of https://github.com/Icinga/icinga2.git
Fixed config parser error messages.
This commit is contained in:
parent
746d24c9a2
commit
9f56ce6c46
|
@ -70,7 +70,7 @@ int yylex(YYSTYPE *lvalp, YYLTYPE *llocp, void *scanner);
|
|||
void yyerror(YYLTYPE *locp, ConfigCompiler *context, const char *err)
|
||||
{
|
||||
stringstream message;
|
||||
message << *locp;
|
||||
message << *locp << ": " << err;
|
||||
throw runtime_error(message.str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue