mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
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)
|
void yyerror(YYLTYPE *locp, ConfigCompiler *context, const char *err)
|
||||||
{
|
{
|
||||||
stringstream message;
|
stringstream message;
|
||||||
message << *locp;
|
message << *locp << ": " << err;
|
||||||
throw runtime_error(message.str());
|
throw runtime_error(message.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user