Allow implicit sections to have more than one rule

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2023-12-21 14:06:10 -08:00
parent 401883c1da
commit 678e51f146

View File

@ -100,7 +100,7 @@ rule =
, item = term
, trailing = Forbidden
}
|. Parser.spaces |. Parser.symbol ";"
|. Parser.spaces |. Parser.symbol ";" |. Parser.spaces
rules : Parser (List Rule)
rules = Parser.sequence