Compute output file name correctly in C mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
023715b174
commit
bf148400e2
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ public:
|
|||
{
|
||||
String *outfile = Getattr(n,"outfile");
|
||||
Replaceall(outfile,"_wrap.cxx", ".lisp");
|
||||
Replaceall(outfile,"_wrap.c", ".lisp");
|
||||
out = NewFile(outfile,"w");
|
||||
if (!out)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue