summaryrefslogtreecommitdiff
path: root/libre/antlr2/mono.patch
blob: 59c78d81104f8a508f9b22ad1d7531ed9046272e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff -ruN antlr-2.7.7.orig/lib/csharp/antlr.runtime.build antlr-2.7.7/lib/csharp/antlr.runtime.build
--- antlr-2.7.7.orig/lib/csharp/antlr.runtime.build	2006-11-01 16:37:17.000000000 -0500
+++ antlr-2.7.7/lib/csharp/antlr.runtime.build	2013-05-14 20:07:32.000000000 -0400
@@ -25,6 +25,9 @@
     	
 		<!-- Use script task to get this from AssemblyInfo.cs using a regular expression -->
 		<script language="C#">
+			<imports>
+				<import namespace="System.Text.RegularExpressions" />
+			</imports>
 			<code><![CDATA[
 				public static void ScriptMain(Project project) {
 					string assemblyInfoFileName = Path.Combine(project.BaseDirectory, "antlr.runtime/AssemblyInfo.cs");
@@ -122,7 +125,7 @@
         </csc>
 
         <!-- copy the antlr.runtime assembly to the astframe build folder -->
-        <copy file="${compile.dir}\${project.FileName}.dll" tofile="${astframe.compile.dir}\${project.FileName}.dll" />
+        <copy file="${compile.dir}/${project.FileName}.dll" tofile="${astframe.compile.dir}/${project.FileName}.dll" />
 
         <!-- compile antlr.astframe.dll -->
         <csc target="library" output="${astframe.compile.dir}/${astframe.FileName}.dll" debug="${debug}" doc="${astframe.build.dir}/${astframe.FileName}.xml">
@@ -134,7 +137,7 @@
 	            	<include name="System.dll" />
 					<include name="System.Drawing.dll" />
 					<include name="System.Windows.Forms.dll" />
-					<include name="${astframe.compile.dir}\${project.FileName}.dll" />
+					<include name="${astframe.compile.dir}/${project.FileName}.dll" />
 				</references>              					
 				<arg value="/nowarn:1591"/>
         </csc>