From bf148400e220464df5b2693ca2c22ea03993b341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6ppe?= Date: Tue, 1 Jul 2003 18:34:48 +0000 Subject: [PATCH] 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 --- Source/Modules/s-exp.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Modules/s-exp.cxx b/Source/Modules/s-exp.cxx index 566e6359d..e24ae2a24 100644 --- a/Source/Modules/s-exp.cxx +++ b/Source/Modules/s-exp.cxx @@ -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) {