on master help sign in
Reorder parsers so that "perform" declarations are tried earlier
d78dc66Evan Czaplicki
src/Parse/Declaration.hs+1−1
@@ -15,7 +15,7 @@ import qualified Parse.Type as Type
15
15
16declaration :: IParser D.SourceDecl
16declaration :: IParser D.SourceDecl
17declaration =
17declaration =
18− typeDecl <|> infixDecl <|> port <|> definition <|> perform
18+ typeDecl <|> infixDecl <|> port <|> perform <|> definition
19
19
20
20
21definition :: IParser D.SourceDecl
21definition :: IParser D.SourceDecl