1
1
mirror of https://github.com/github/semantic.git synced 2025-01-05 14:11:33 +03:00

Don’t add “modifier” for now.

This commit is contained in:
Rob Rix 2017-01-19 14:05:51 -05:00
parent cd5a51aa7a
commit abe529534a

View File

@ -480,7 +480,7 @@ instance HasCategory Category where
C.FieldDeclarations -> "field declarations"
C.RuneLiteral -> "rune literal"
C.Modifier C.Rescue -> "rescue modifier"
C.Modifier c -> toCategoryName c <> " modifier"
C.Modifier c -> toCategoryName c
instance HasField fields Category => HasCategory (SyntaxTerm leaf fields) where
toCategoryName = toCategoryName . category . extract