fix -oh/-o/-noh, tested before in the wrong directory

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-23 05:28:04 +00:00
commit 2df5b6a736
2 changed files with 10 additions and 6 deletions

View file

@ -217,7 +217,7 @@ public:
/* Initialize all of the output files */
String *outfile = Getattr(n,"outfile");
String *outfile_h = Getattr(n, "outfile_h");
String *outfile_h = !no_header_file ? Getattr(n, "outfile_h"): 0;
f_runtime = NewFile(outfile,"w");
if (!f_runtime) {