X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Futils%2FUtil.lhs;h=e019f67ca7d272addddee449e3321dac7d5ace45;hb=e95ee1f718c6915c478005aad8af81705357d6ab;hp=ec5070f26a637a838a9d8c86b881a9ab23b85b84;hpb=00022894bbb2dfa33fd213eedbac0f28b4c4b7b4;p=ghc-hetmet.git diff --git a/compiler/utils/Util.lhs b/compiler/utils/Util.lhs index ec5070f..e019f67 100644 --- a/compiler/utils/Util.lhs +++ b/compiler/utils/Util.lhs @@ -815,7 +815,7 @@ looksLikeModuleName [] = False looksLikeModuleName (c:cs) = isUpper c && go cs where go [] = True go ('.':cs) = looksLikeModuleName cs - go (c:cs) = (isAlphaNum c || c == '_') && go cs + go (c:cs) = (isAlphaNum c || c == '_' || c == '\'') && go cs \end{code} Akin to @Prelude.words@, but acts like the Bourne shell, treating