aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/GHC
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/GHC')
-rw-r--r--src/Haddock/GHC/Utils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/GHC/Utils.hs b/src/Haddock/GHC/Utils.hs
index 5e8142e5..08eb4fb5 100644
--- a/src/Haddock/GHC/Utils.hs
+++ b/src/Haddock/GHC/Utils.hs
@@ -53,7 +53,7 @@ modulePkgStr = packageIdString . modulePackageId
-- misc
-isNameSym = isSymOcc . nameOccName
+isNameSym n = isNameVarSym n || isNameConSym n
isNameVarSym = isLexVarSym . occNameFS . nameOccName
isNameConSym = isLexConSym . occNameFS . nameOccName