summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-01 11:17:58 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-01 11:17:58 +0100
commit098b59483450fa9ce3e1b5e52263bcdf3f4c9466 (patch)
tree16528ed29422a356b5664a1cb62ea4418fa0926a
parent10b146739fa02f1b17603bd8e139687390d16cd1 (diff)
eo: treat implements specially (special coloring of the keywords)
-rw-r--r--eo/eo.xml25
1 files changed, 24 insertions, 1 deletions
diff --git a/eo/eo.xml b/eo/eo.xml
index a21e9e9..d05b335 100644
--- a/eo/eo.xml
+++ b/eo/eo.xml
@@ -21,6 +21,10 @@
21 <RULES IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE" NO_WORD_SEP="_:." 21 <RULES IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE" NO_WORD_SEP="_:."
22 DIGIT_RE="(0x)*[0-9A-Fa-f]?(\.[0-9A-Fa-f]+)?([eEpP][+-]?[0-9A-Fa-f]*)?" 22 DIGIT_RE="(0x)*[0-9A-Fa-f]?(\.[0-9A-Fa-f]+)?([eEpP][+-]?[0-9A-Fa-f]*)?"
23 > 23 >
24 <IMPORT DELEGATE="CORE"/>
25 </RULES>
26
27 <RULES SET="CORE">
24 <!-- comments --> 28 <!-- comments -->
25 <SEQ TYPE="COMMENT1">/**/</SEQ> 29 <SEQ TYPE="COMMENT1">/**/</SEQ>
26 <SPAN TYPE="COMMENT3" DELEGATE="doxygen::DOXYGEN"> 30 <SPAN TYPE="COMMENT3" DELEGATE="doxygen::DOXYGEN">
@@ -73,6 +77,8 @@
73 <MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS> 77 <MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS>
74 <SEQ TYPE="OPERATOR">)</SEQ> 78 <SEQ TYPE="OPERATOR">)</SEQ>
75 79
80 <SEQ TYPE="KEYWORD1" DELEGATE="IMPLEMENTS_R">implements</SEQ>
81
76 <KEYWORDS> 82 <KEYWORDS>
77 <!-- reserved core keywords --> 83 <!-- reserved core keywords -->
78 <KEYWORD1>abstract</KEYWORD1> 84 <KEYWORD1>abstract</KEYWORD1>
@@ -80,7 +86,6 @@
80 <KEYWORD1>constructors</KEYWORD1> 86 <KEYWORD1>constructors</KEYWORD1>
81 <KEYWORD1>events</KEYWORD1> 87 <KEYWORD1>events</KEYWORD1>
82 <KEYWORD1>get</KEYWORD1> 88 <KEYWORD1>get</KEYWORD1>
83 <KEYWORD1>implements</KEYWORD1>
84 <KEYWORD1>interface</KEYWORD1> 89 <KEYWORD1>interface</KEYWORD1>
85 <KEYWORD1>keys</KEYWORD1> 90 <KEYWORD1>keys</KEYWORD1>
86 <KEYWORD1>methods</KEYWORD1> 91 <KEYWORD1>methods</KEYWORD1>
@@ -156,4 +161,22 @@
156 <LITERAL2>null</LITERAL2> 161 <LITERAL2>null</LITERAL2>
157 </KEYWORDS> 162 </KEYWORDS>
158 </RULES> 163 </RULES>
164
165 <RULES SET="IMPLEMENTS_R">
166 <SEQ TYPE="OPERATOR" DELEGATE="IMPLEMENTS">{</SEQ>
167 </RULES>
168
169 <RULES SET="IMPLEMENTS">
170 <SEQ TYPE="OPERATOR">.</SEQ>
171 <SEQ TYPE="OPERATOR">;</SEQ>
172 <KEYWORDS>
173 <KEYWORD4>constructor</KEYWORD4>
174 <KEYWORD4>destructor</KEYWORD4>
175 <KEYWORD4>get</KEYWORD4>
176 <KEYWORD4>set</KEYWORD4>
177 <KEYWORD2>class</KEYWORD2>
178 <KEYWORD2>virtual</KEYWORD2>
179 </KEYWORDS>
180 <SEQ TYPE="OPERATOR" DELEGATE="CORE">}</SEQ>
181 </RULES>
159</MODE> 182</MODE>