summaryrefslogtreecommitdiffstats
path: root/kate/data/nesc.xml
diff options
context:
space:
mode:
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.*((?=\\))"/>