expr = ConfigCompiler::CompileText("<test>", "a = 3 b = 3");
BOOST_CHECK_THROW(expr->Evaluate(frame), ScriptError);
- expr = ConfigCompiler::CompileText("<test>", "__function() { 3 }()");
+ expr = ConfigCompiler::CompileText("<test>", "function() { 3 }()");
BOOST_CHECK(expr->Evaluate(frame) == 3);
delete expr;
- expr = ConfigCompiler::CompileText("<test>", "__function() { __return 3, 5 }()");
+ expr = ConfigCompiler::CompileText("<test>", "function() { return 3, 5 }()");
BOOST_CHECK(expr->Evaluate(frame) == 3);
delete expr;