[gtksourceview] Improve fortran syntax highlighting
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtksourceview] Improve fortran syntax highlighting
- Date: Sun, 25 Oct 2009 15:17:29 +0000 (UTC)
commit b292cbe7ec512da7650fdfc55df2d4e4c62ccee2
Author: Toon Verstraelen <Toon Verstraelen UGent be>
Date: Thu Oct 22 06:17:19 2009 +0200
Improve fortran syntax highlighting
gtksourceview/language-specs/fortran.lang | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/language-specs/fortran.lang b/gtksourceview/language-specs/fortran.lang
index 4f82d8c..d41cf52 100644
--- a/gtksourceview/language-specs/fortran.lang
+++ b/gtksourceview/language-specs/fortran.lang
@@ -93,6 +93,7 @@
<keyword>if</keyword>
<keyword>implicit none</keyword>
<keyword>include</keyword>
+ <keyword>interface</keyword>
<keyword>intrinsic</keyword>
<keyword>kind</keyword>
<keyword>len</keyword>
@@ -374,6 +375,7 @@
<keyword>dimension</keyword>
<keyword>parameter</keyword>
<keyword>intent</keyword>
+ <keyword>public</keyword>
<keyword>private</keyword>
<keyword>optional</keyword>
<keyword>pointer</keyword>
@@ -387,6 +389,7 @@
[+-]?
((\.[0-9]+ | [0-9]+\.[0-9]*) ([ed][+-]?[0-9]*)? |
([0-9]+[ed][+-]?[0-9]*))
+ ([_]([0-9]+|[a-z][\w_]*))?
(?![\w\.])
</match>
</context>
@@ -395,6 +398,7 @@
<match extended="true">
(?<![\w\.])
[+-]? ([1-9][0-9]*|0)
+ ([_]([0-9]+|[a-z][\w_]*))?
(?![\w\.])
</match>
</context>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]