Skip to content
Snippets Groups Projects
Commit 8d564a8d authored by sof's avatar sof
Browse files

[project @ 1998-03-12 20:03:31 by sof]

import decls:Allow the use of 'as' without 'qualified'
parent 63592052
No related merge requests found
......@@ -385,6 +385,8 @@ impdecl : importkey modid impspec
{ $$ = lsing(mkimport($3,1,mknothing(),$4,$1,startlineno)); }
| importkey QUALIFIED modid AS modid impspec
{ $$ = lsing(mkimport($3,1,mkjust($5),$6,$1,startlineno)); }
| importkey modid AS modid impspec
{ $$ = lsing(mkimport($3,1,mkjust($4),$5,$1,startlineno)); }
;
impspec : /* empty */ { $$ = mknothing(); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment