@@ -183,15 +183,6 @@ Returns keywords suitable for `font-lock-keywords'."
183183 ; ; "^>", otherwise a line of code starts with "^".
184184 (line-prefix (if (eq literate 'bird ) " ^> ?" " ^" ))
185185
186- ; ; Most names are borrowed from the lexical syntax of the Haskell
187- ; ; report.
188- ; ; Some of these definitions have been superseded by using the
189- ; ; syntax table instead.
190-
191- ; ; (ASCsymbol "-!#$%&*+./<=>?@\\\\ ^|~")
192- ; ; Put the minus first to make it work in ranges.
193-
194- ; ; We allow _ as the first char to fit GHC
195186 (varid " \\ b[[:lower:]_][[:alnum:]'_]*\\ b" )
196187 ; ; We allow ' preceding conids because of DataKinds/PolyKinds
197188 (conid " \\ b'?[[:upper:]][[:alnum:]'_]*\\ b" )
@@ -278,17 +269,16 @@ Returns keywords suitable for `font-lock-keywords'."
278269 ; ; These four are debatable...
279270 (" (\\ (,*\\ |->\\ ))" 0 haskell-constructor-face)
280271 (" \\ [\\ ]" 0 haskell-constructor-face)
281- ; ; Expensive.
272+
282273 (,(concat " `" varid " `" ) 0 haskell-operator-face)
283274 (,(concat " `" conid " `" ) 0 haskell-operator-face)
284275 (,(concat " `" qvarid " `" ) 0 haskell-operator-face)
285276 (,(concat " `" qconid " `" ) 0 haskell-operator-face)
286277 (, qvarid 0 haskell-default-face)
287278 (, qconid 0 haskell-constructor-face)
288- ; ; Expensive.
279+
289280 (, conid 0 haskell-constructor-face)
290281
291- ; ; Very expensive.
292282 (, sym 0 (if (eq (char-after (match-beginning 0 )) ?: )
293283 haskell-constructor-face
294284 haskell-operator-face))))
0 commit comments