1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

Derive a Read instance for ASTMode.

This commit is contained in:
Rob Rix 2019-09-25 10:48:38 -04:00
parent fc153ec593
commit a20063353e
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -106,7 +106,7 @@ newtype LanguageModes = LanguageModes
data ASTMode
= ALaCarte
| Precise
deriving (Eq, Ord, Show)
deriving (Eq, Ord, Read, Show)
parseCommand :: Mod CommandFields (Task.TaskEff Builder)
parseCommand = command "parse" (info parseArgumentsParser (progDesc "Generate parse trees for path(s)"))