}
protected void RunStep(CompilerContext context, ICompilerStep step)
{
OnBeforeStep(context, step);
step.Initialize(context);
try
{
step.Run();
}
catch (Boo.Lang.Compiler.CompilerError error)
{
context.Errors.Add(error);
}
catch (System.Exception x)
{
context.Errors.Add(CompilerErrorFactory.StepExecutionError(x, step));
}
finally
{
OnAfterStep(context, step);
}