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:
parent
30e5a79ecb
commit
de4f30bd3c
2 changed files with 3 additions and 2 deletions
|
|
@ -11,7 +11,8 @@ import_packages_subdirs = \
|
|||
from_init2 \
|
||||
from_init3 \
|
||||
relativeimport1 \
|
||||
relativeimport1
|
||||
relativeimport2 \
|
||||
relativeimport3
|
||||
|
||||
check: build
|
||||
if test "x$(SRCDIR)" != x; then \
|
||||
|
|
|
|||
|
|
@ -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($$));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue