Skip to content

Commit 3c3385b

Browse files
author
KolodeznyDiver
committed
Fixed QUOTEMARKS for Haskell
The symbol (') is not used for Haskell string literals, but is used in the names almost as a regular character. Including the names of functions in the base package, and other commonly used packs. https://www.haskell.org/onlinereport/haskell2010/haskellch2.html#x7-180002.4 Sections 2.4, 2.6
1 parent 4b06bfe commit 3c3385b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geshi/haskell.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
3 => "/{-(?:(?R)|.)-}/s", //Nested Comments
4747
),
4848
'CASE_KEYWORDS' => 0,
49-
'QUOTEMARKS' => array('"',"'"),
49+
'QUOTEMARKS' => array('"'),
5050
'ESCAPE_CHAR' => '\\',
5151
'KEYWORDS' => array(
5252
/* main haskell keywords */

0 commit comments

Comments
 (0)