Merge pull request #207 from johan-hake/johanhake/fix-206-swig-relative-import
Fix issue with relative import when using single header file import [Python]
This commit is contained in:
commit
a06dff17ad
25 changed files with 193 additions and 1 deletions
|
|
@ -1880,6 +1880,7 @@ include_directive: includetype options string BEGINFILE {
|
|||
Node *nint = new_node("import");
|
||||
Node *mnode = new_node("module");
|
||||
Setattr(mnode,"name", mname);
|
||||
Setattr(mnode,"options",$2);
|
||||
appendChild(nint,mnode);
|
||||
Delete(mnode);
|
||||
appendChild(nint,firstChild($$));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue