diff --git a/src/Language/Go/Assignment.hs b/src/Language/Go/Assignment.hs index 79aa8166b..58e3cb99e 100644 --- a/src/Language/Go/Assignment.hs +++ b/src/Language/Go/Assignment.hs @@ -124,7 +124,7 @@ assignment :: Assignment assignment = handleError program <|> parseError expression :: Assignment -expression = handleError (choice expressionChoices) +expression = term (handleError (choice expressionChoices)) expressionChoices :: [Assignment.Assignment [] Grammar Term] expressionChoices =