public static void Prepare(Parse result) { #if LIB2 if(-1!=result.Find(typeof(Parsing))){ result.InsertAfter(typeof (Parsing), new IncludeAstMacroExpandStep()); }else if (-1!=result.Find(typeof(WSABooParsingStep))){ result.InsertAfter(typeof(WSABooParsingStep), new IncludeAstMacroExpandStep()); } #else if (-1 != result.Find(typeof(BooParsingStep))) { result.InsertAfter(typeof(BooParsingStep), new IncludeAstMacroExpandStep()); } else if (-1 != result.Find(typeof(WSABooParsingStep))) { result.InsertAfter(typeof(WSABooParsingStep), new IncludeAstMacroExpandStep()); } #endif }