Commit d2976170 by Zachary Snow

allow extraneous semicolons after package items

parent 98808854
......@@ -758,6 +758,7 @@ LHSAsgn :: { (LHS, Expr) }
PackageItems :: { [PackageItem] }
: {- empty -} { [] }
| PackageItems ";" { $1 }
| PackageItems PackageItem { $1 ++ $2 }
PackageItem :: { [PackageItem] }
: DeclTokens(";") { map Decl $ parseDTsAsDecls $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