OCaml: Recognize '\"'
as a char literal and not the start of a string literal
This commit is contained in:
parent
8cfe59fcb0
commit
70f9d8fbef
|
@ -32,7 +32,7 @@ provide-module ocaml %{
|
||||||
|
|
||||||
add-highlighter shared/ocaml regions
|
add-highlighter shared/ocaml regions
|
||||||
add-highlighter shared/ocaml/code default-region group
|
add-highlighter shared/ocaml/code default-region group
|
||||||
add-highlighter shared/ocaml/string region (?<!')" (?<!\\)(\\\\)*" fill string
|
add-highlighter shared/ocaml/string region (?<!['\\])" (?<!\\)(\\\\)*" fill string
|
||||||
add-highlighter shared/ocaml/quotedstring region -match-capture %"\{(\w*)\|" %"\|(\w*)\}" fill string
|
add-highlighter shared/ocaml/quotedstring region -match-capture %"\{(\w*)\|" %"\|(\w*)\}" fill string
|
||||||
add-highlighter shared/ocaml/comment region -recurse \Q(* \Q(* \Q*) fill comment
|
add-highlighter shared/ocaml/comment region -recurse \Q(* \Q(* \Q*) fill comment
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user