diff --git a/haskell-font-lock.el b/haskell-font-lock.el index 25154cdb7..ecae82a17 100644 --- a/haskell-font-lock.el +++ b/haskell-font-lock.el @@ -455,14 +455,14 @@ that should be commented under LaTeX-style literate scripts." ;; It's probably not worth the trouble, tho. ;; ("^[ \t]*\\(\\\\\\)" (1 ".")) ;; Deal with instances of `--' which don't form a comment - ("\\s_\\{3,\\}" (0 (cond ((numberp (nth 4 (syntax-ppss))) + ("\\s.\\{3,\\}" (0 (cond ((numberp (nth 4 (syntax-ppss))) ;; There are no such instances inside nestable comments nil) ((string-match "\\`-*\\'" (match-string 0)) ;; Sequence of hyphens. Do nothing in ;; case of things like `{---'. nil) - (t "_")))) ; other symbol sequence + (t ".")))) ; other symbol sequence )) (defconst haskell-bird-syntactic-keywords