Fix missing filename in error messages when writing out C# files
Closes #882
This commit is contained in:
parent
c766bf334a
commit
9d832c30b9
1 changed files with 1 additions and 1 deletions
|
|
@ -683,7 +683,7 @@ public:
|
||||||
String *filen = NewStringf("%s%s.cs", dir, name);
|
String *filen = NewStringf("%s%s.cs", dir, name);
|
||||||
File *f = NewFile(filen, "w", SWIG_output_files());
|
File *f = NewFile(filen, "w", SWIG_output_files());
|
||||||
if (!f) {
|
if (!f) {
|
||||||
FileErrorDisplay(f);
|
FileErrorDisplay(filen);
|
||||||
SWIG_exit(EXIT_FAILURE);
|
SWIG_exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
Append(filenames_list, Copy(filen));
|
Append(filenames_list, Copy(filen));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue