allow empty parameter_port_list (resolves #83)

This commit is contained in:
Zachary Snow 2020-03-25 23:55:15 -04:00
parent e7381c4db2
commit 1687b1c5c1
1 changed files with 1 additions and 0 deletions

View File

@ -559,6 +559,7 @@ PackageImportDeclaration :: { [ModuleItem] }
Params :: { [ModuleItem] }
: {- empty -} { [] }
| "#" "(" ")" { [] }
| "#" "(" ParamsFollow { map (MIPackageItem . Decl) $3 }
ParamsFollow :: { [Decl] }
: ParamAsgn ")" { [$1] }