Commit 1687b1c5 by Zachary Snow

allow empty parameter_port_list (resolves #83)

parent e7381c4d
......@@ -559,6 +559,7 @@ PackageImportDeclaration :: { [ModuleItem] }
Params :: { [ModuleItem] }
: {- empty -} { [] }
| "#" "(" ")" { [] }
| "#" "(" ParamsFollow { map (MIPackageItem . Decl) $3 }
ParamsFollow :: { [Decl] }
: ParamAsgn ")" { [$1] }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment