void RegisterConfigFragment(void) \
{ \
icinga::Expression *expression = icinga::ConfigCompiler::CompileText(name, fragment, false); \
+ VERIFY(expression); \
icinga::ScriptFrame frame; \
expression->Evaluate(frame); \
delete expression; \
lsf.Lines[fileName] = m_Command;
- Expression *expr = ConfigCompiler::CompileText(fileName, m_Command);
+ Expression *expr = NULL;
Value result;
try {
+ expr = ConfigCompiler::CompileText(fileName, m_Command, false);
ScriptFrame frame;
frame.Locals = lsf.Locals;
result = expr->Evaluate(frame);