public static void Main( string[] args )
{
if (args.Contains("-Xcachetemplates"))
EnableTemplateCache = true;
bool repeat = false;
if (args.Contains("-Xrepeat"))
repeat = true;
for (int i = 0; i < (repeat ? 2 : 1); i++)
{
if (i == 1)
Console.In.ReadLine();
AntlrTool antlr = new AntlrTool(args);
if (!exitNow)
{
antlr.Process();
Environment.ExitCode = (ErrorManager.GetNumErrors() > 0) ? 1 : 0;
}
}
}