2003-02-23 Mike Kestner <mkestner@speakeasy.net>

* generator/GenBase.cs : quote the custom filenames in
	#file directives.

svn path=/trunk/gtk-sharp/; revision=11918
This commit is contained in:
Mike Kestner 2003-02-24 05:20:04 +00:00
parent 554450a33a
commit 0a60bc2916
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : quote the custom filenames in
#file directives.
2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : suppress len params from

View File

@ -99,7 +99,7 @@ namespace GtkSharp.Generation {
char sep = Path.DirectorySeparatorChar;
string custom = ".." + sep + NS.ToLower() + sep + Name + ".custom";
if (File.Exists(custom)) {
sw.WriteLine ("#line 1 " + Name + ".custom");
sw.WriteLine ("#line 1 \"" + Name + ".custom\"");
sw.WriteLine ("#region Customized extensions");
FileStream custstream = new FileStream(custom, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(custstream);