Fix bug 206 where package information for relative in single file import is not propagated correctly.

This commit is contained in:
Johan Hake 2014-08-25 10:09:12 +02:00
commit 30e5a79ecb

View file

@ -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",(yyvsp[-5].node));
appendChild(nint,mnode);
Delete(mnode);
appendChild(nint,firstChild($$));