mirror of https://github.com/zachjs/sv2v.git
allow empty parameter_port_list (resolves #83)
This commit is contained in:
parent
e7381c4db2
commit
1687b1c5c1
|
|
@ -559,6 +559,7 @@ PackageImportDeclaration :: { [ModuleItem] }
|
|||
|
||||
Params :: { [ModuleItem] }
|
||||
: {- empty -} { [] }
|
||||
| "#" "(" ")" { [] }
|
||||
| "#" "(" ParamsFollow { map (MIPackageItem . Decl) $3 }
|
||||
ParamsFollow :: { [Decl] }
|
||||
: ParamAsgn ")" { [$1] }
|
||||
|
|
|
|||
Loading…
Reference in New Issue