[gtksourceview] Ocaml: fix empty comment highlighting



commit 5f265ef956496c4fcf0ff8d8a322be1c2876d9b5
Author: Gaetan Gilbert <gaetan gilbert ens-lyon fr>
Date:   Tue May 5 16:54:51 2015 +0200

    Ocaml: fix empty comment highlighting
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748960

 data/language-specs/ocaml.lang |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/language-specs/ocaml.lang b/data/language-specs/ocaml.lang
index e094ffd..d846a5a 100644
--- a/data/language-specs/ocaml.lang
+++ b/data/language-specs/ocaml.lang
@@ -67,7 +67,7 @@
     <context id="ocaml" class="no-spell-check">
       <include>
        <context id="ocamldoc" style-ref="ocamldoc">
-         <start>\(\*\*</start>
+         <start>\(\*\*(?!\))</start>
          <end>\*\)</end>
          <include>
            <context id="comment-in-comment" style-ref="comment" class="comment" 
class-disabled="no-spell-check">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]