Fixed minor bug with %include

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@38 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-01-11 21:06:13 +00:00
commit 7ee1dec92d

View file

@ -367,6 +367,7 @@ get_filename(DOH *str) {
} else {
Putc(c,fn);
while (((c = Getc(str)) != EOF) && (!isspace(c))) Putc(c,fn);
if (isspace(c)) Ungetc(c,str);
}
Seek(fn,0,SEEK_SET);
return fn;