-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
..\..\jay\bin\Debug\jay.exe -ct ..\..\jay\skeleton.cs System.Xml.XPath/Parser.jay > System.Xml.XPath/Parser.cs | ||
echo #define XSLT_PATTERN > Mono.Xml.Xsl/PatternParser.cs | ||
..\..\jay\bin\Debug\jay.exe -ct ..\..\jay\skeleton.cs Mono.Xml.Xsl/PatternParser.jay >> Mono.Xml.Xsl/PatternParser.cs | ||
echo #define XSLT_PATTERN > Mono.Xml.Xsl/PatternTokenizer.cs | ||
type System.Xml.XPath/Tokenizer.cs >> Mono.Xml.Xsl/PatternTokenizer.cs | ||
..\..\..\mono\msvc\scripts\prepare . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// C# implementation of a handful of shell steps | ||
// this is used to automate the buidl in Windows | ||
// | ||
using System; | ||
using System.Text; | ||
using System.IO; | ||
|
||
class Prepare { | ||
|
||
static void Main (string [] args) | ||
{ | ||
string bdir = args.Length == 0 ? "../../../mcs/class" : args [0]; | ||
|
||
using (var xps = new StreamReader (bdir + "/System.XML/System.Xml.XPath/Parser.jay")){ | ||
using (var xpp = new StreamWriter (bdir + "/System.XML/Mono.Xml.Xsl/PatternParser.jay")){ | ||
|
||
xpp.Write (xps.ReadToEnd ().Replace ("%start Expr", "%start Pattern")); | ||
} | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters