mirror of
https://github.com/comby-tools/comby.git
synced 2024-09-11 13:25:36 +03:00
don't assume single quotes are balanced for Haskell (#218)
This commit is contained in:
parent
86b252c68b
commit
b1e89ec38d
@ -735,6 +735,10 @@ module Haskell = struct
|
||||
[ ({|"""|}, {|"""|})
|
||||
]
|
||||
|
||||
(* Excludes ' as escapable string literal, since these can be used in
|
||||
identifiers. *)
|
||||
let escapable_string_literals = ordinary_string
|
||||
|
||||
let comments =
|
||||
[ Multiline ("{-", "-}")
|
||||
; Until_newline "--"
|
||||
|
Loading…
Reference in New Issue
Block a user