diff --git a/src/Language/Go/Assignment.hs b/src/Language/Go/Assignment.hs index d404dd9fe..2a62742e2 100644 --- a/src/Language/Go/Assignment.hs +++ b/src/Language/Go/Assignment.hs @@ -246,6 +246,9 @@ types = arrayType <|> typeSwitchGuard <|> typeSwitchStatement +program :: Assignment +program = makeTerm <$> symbol SourceFile <*> children (Syntax.Program <$> many expression) + -- Literals element :: Assignment