mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
43595515eb
commit
c95d2f14a3
@ -238,7 +238,7 @@ extern int yydebug;
|
||||
|
||||
void yyerror(const YYLTYPE *locp, std::vector<std::pair<Expression *, EItemInfo> > *, ConfigCompiler *context, const char *err)
|
||||
{
|
||||
bool incomplete = context->m_Eof && (context->m_OpenBraces > 0);
|
||||
bool incomplete = context && context->m_Eof && (context->m_OpenBraces > 0);
|
||||
BOOST_THROW_EXCEPTION(ScriptError(err, *locp, incomplete));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user