Small fixes to the relative import fix.

-- Now the tests actually runs
  -- Corrected the syntax for the fix in the yacc file
This commit is contained in:
Johan Hake 2014-09-29 17:37:41 +02:00
commit de4f30bd3c
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,8 @@ import_packages_subdirs = \
from_init2 \
from_init3 \
relativeimport1 \
relativeimport1
relativeimport2 \
relativeimport3
check: build
if test "x$(SRCDIR)" != x; then \

View file

@ -1880,7 +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));
Setattr(mnode,"options",$2);
appendChild(nint,mnode);
Delete(mnode);
appendChild(nint,firstChild($$));