summaryrefslogtreecommitdiffstats
path: root/kate/data/nesc.xml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2016-10-17 02:27:29 +0900
committerMichele Calgaro <[email protected]>2016-10-17 02:28:13 +0900
commitd3b96e335f2f0412540d72a3d6e1d6449574c6f7 (patch)
tree3a772fe91647e6b78ff88ecbfa3efcb8d19fe90a /kate/data/nesc.xml
parent46887a349ea419f19d18e424a8b4a1c9c1e16e78 (diff)
downloadtdelibs-d3b96e335f2f0412540d72a3d6e1d6449574c6f7.tar.gz
tdelibs-d3b96e335f2f0412540d72a3d6e1d6449574c6f7.zip
Kate syntax highlighting files update - Oct 2016
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit fddd4b7f8bdd9b0c5b4d3e21618c0a899937f646)
Diffstat (limited to 'kate/data/nesc.xml')
-rw-r--r--kate/data/nesc.xml14
1 files changed, 11 insertions, 3 deletions
diff --git a/kate/data/nesc.xml b/kate/data/nesc.xml
index e90d4e219..5a88f87a0 100644
--- a/kate/data/nesc.xml
+++ b/kate/data/nesc.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="nesC" author="Shakthi Kannan" license="GPLv2" version="1.00-1" kateversion="2.3" section="Sources" extensions="*.nc" mimetype="text/x-ncsrc" priority="5">
+<language name="nesC" author="Shakthi Kannan" license="GPLv2" version="2" kateversion="2.3" section="Sources" extensions="*.nc" mimetype="text/x-ncsrc" priority="5">
<highlighting>
<list name="keywords">
<item> break </item>
@@ -41,6 +41,7 @@
<item> call </item>
<item> signal </item>
<item> post </item>
+
</list>
<list name="types">
<item> auto </item>
@@ -120,7 +121,9 @@
<context attribute="Normal Text" lineEndContext="#pop" name="Member">
<RegExpr attribute="Function" context="#pop" String="\b[_\w][_\w\d]*(?=[\s]*)"/>
</context>
-
+
+
+
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
<IncludeRules context="##Alerts"/>
</context>
@@ -128,7 +131,12 @@
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
<keyword attribute="Decimal" context="#stay" String="attention"/>
</context>
-
+
+
+
+
+
+
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
<LineContinue attribute="Preprocessor" context="#stay"/>
<RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/>