Modified file inclusion output slightly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@65 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
743735cd92
commit
0a2dc820cf
1 changed files with 2 additions and 2 deletions
|
|
@ -1041,7 +1041,7 @@ SWIG_cpp_parse(DOH *s)
|
||||||
fn = get_filename(value);
|
fn = get_filename(value);
|
||||||
s1 = cpp_include(fn);
|
s1 = cpp_include(fn);
|
||||||
if (s1) {
|
if (s1) {
|
||||||
Printf(ns,"%%include \"%s\" {\n", SWIG_last_file());
|
Printf(ns,"%%includefile \"%s\" {\n", SWIG_last_file());
|
||||||
s2 = SWIG_cpp_parse(s1);
|
s2 = SWIG_cpp_parse(s1);
|
||||||
addline(ns,s2,allow);
|
addline(ns,s2,allow);
|
||||||
Printf(ns,"\n}\n");
|
Printf(ns,"\n}\n");
|
||||||
|
|
@ -1114,7 +1114,7 @@ SWIG_cpp_parse(DOH *s)
|
||||||
if (s1) {
|
if (s1) {
|
||||||
add_chunk(ns,chunk,allow);
|
add_chunk(ns,chunk,allow);
|
||||||
copy_location(s,chunk);
|
copy_location(s,chunk);
|
||||||
Printf(ns,"%s \"%s\" {\n", decl, SWIG_last_file());
|
Printf(ns,"%sfile \"%s\" {\n", decl, SWIG_last_file());
|
||||||
s2 = SWIG_cpp_parse(s1);
|
s2 = SWIG_cpp_parse(s1);
|
||||||
addline(ns,s2,allow);
|
addline(ns,s2,allow);
|
||||||
Printf(ns,"\n}\n");
|
Printf(ns,"\n}\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue