mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +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)
|
||||
{
|
||||
stringstream message;
|
||||
message << *locp;
|
||||
message << *locp << ": " << err;
|
||||
throw runtime_error(message.str());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user