[gtksourceview] Base n integers are never matched in OCaml syntax file. Fixes bug #624028
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Base n integers are never matched in OCaml syntax file. Fixes bug #624028
- Date: Sat, 10 Jul 2010 13:01:44 +0000 (UTC)
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]