[gtksourceview] Base n integers are never matched in OCaml syntax file. Fixes bug #624028



commit b542fb4b17824ae255dccad96e8187e7233a7115
Author: Cacophrene <cacophrene gmail com>
Date:   Sat Jul 10 14:58:38 2010 +0200

    Base n integers are never matched in OCaml syntax file. Fixes bug #624028

 data/language-specs/ocaml.lang |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/language-specs/ocaml.lang b/data/language-specs/ocaml.lang
index 2e187d1..b80a824 100644
--- a/data/language-specs/ocaml.lang
+++ b/data/language-specs/ocaml.lang
@@ -92,9 +92,6 @@
 	    <context ref="def:in-comment:*"/>
 	  </include>
 	</context>
-	<context id="decimal" style-ref="decimal">
-	  <match>[-]?[0-9][0-9_]*[lLn]?</match>
-	</context>
 	<context id="hex-number" style-ref="base-n-integer">
 	  <match>[-]?0[xX][0-9A-Fa-f][0-9A-Fa-f_]*[lL]?</match>
 	</context>
@@ -104,6 +101,9 @@
 	<context id="binary-number" style-ref="base-n-integer">
 	  <match>[-]?0[bB][01][01_]*[lL]?</match>
 	</context>
+	<context id="decimal" style-ref="decimal">
+	  <match>[-]?[0-9][0-9_]*[lLn]?</match>
+	</context>
 	<context id="floating-point-number" style-ref="floating-point">
 	  <match>[-]?[0-9][0-9_]*(\.[0-9_]*)?([Ee][+-]?[0-9][0-9_]*)?</match>
 	</context>



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