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:
parent
43be9fc101
commit
7ee1dec92d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue