2 // C# implementation of a handful of shell steps
3 // this is used to automate the buidl in Windows
11 static void Main (string [] args)
13 string bdir = args.Length == 0 ? "../../../mcs/class" : args [0];
15 using (var xps = new StreamReader (bdir + "/System.XML/System.Xml.XPath/Parser.jay")){
16 using (var xpp = new StreamWriter (bdir + "/System.XML/Mono.Xml.Xsl/PatternParser.jay")){
18 xpp.Write (xps.ReadToEnd ().Replace ("%start Expr", "%start Pattern"));