summaryrefslogtreecommitdiffstats
path: root/kate/data/erlang.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-01-09 00:24:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-09 00:24:34 +0100
commitbf4e405e03859bf383f55715944f4f71bd338c34 (patch)
tree293783d05c079b477b9ef396bbd851ca01714e2d /kate/data/erlang.xml
parentc5189a79b8621b38b53e3cec952d49630e16dd3a (diff)
downloadtdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.tar.gz
tdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.zip
Update kate syntax highlight files
Diffstat (limited to 'kate/data/erlang.xml')
-rw-r--r--kate/data/erlang.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/kate/data/erlang.xml b/kate/data/erlang.xml
index cc3ea7c56..8cbec0156 100644
--- a/kate/data/erlang.xml
+++ b/kate/data/erlang.xml
@@ -36,7 +36,7 @@
- fixed highlighting problem when '@' at end of atom/variable
-->
-<language name="Erlang" version="1.02" kateversion="2.5" section="Scripts" extensions="*.erl" mimetype="" author="Bill Ross (bill@emailme.net.au)" license="LGPL">
+<language name="Erlang" version="1.03" kateversion="2.5" section="Scripts" extensions="*.erl" mimetype="" author="Bill Ross (bill@emailme.net.au)" license="LGPL">
<highlighting>
<list name="keywords">
<!-- ====== s3.8 p 24 of erlang spec ===== -->
@@ -164,7 +164,7 @@
<item>whereis</item>
</list>
<contexts>
- <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
+ <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<RegExpr attribute="Pragma" context="#stay" column="0" String="&pragmas;" />
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Operator" context="#stay" String="operators" />
@@ -176,26 +176,26 @@
<!-- Functions (in addition to named functions dealt with above) -->
<!-- simple version - got to be in form module:function -->
- <RegExpr attribute="Function" context="#pop" String="&atomstr;:&atomstr;" />
- <RegExpr attribute="Functon" context="isfunction" String="&atomstr;\(" lookAhead="true" />
+ <RegExpr attribute="Function" context="#stay" String="&atomstr;:&atomstr;" />
+ <RegExpr attribute="Function" context="isfunction" String="&atomstr;\(" lookAhead="true" />
<!-- Variables - begin with upper case, or between single quotes -->
- <RegExpr attribute="Variable" context="#pop" String="&varstr;" />
+ <RegExpr attribute="Variable" context="#stay" String="&varstr;" />
<!-- atoms - begin with lower case (letters, numbers, @),
or anything between single quotes -->
<DetectChar attribute="Atom" context="atomquote" char="'" />
- <RegExpr attribute="Atom" context="#pop" String="&atomstr;" />
+ <RegExpr attribute="Atom" context="#stay" String="&atomstr;" />
<DetectChar attribute="String" context="stringquote" char="&quot;" />
<!-- numbers - these work -->
<!-- integers have three forms 7, 3#22, $A -->
<!-- float must have a number after the decimal point, or it doesn't count -->
- <RegExpr attribute="Float" context="#pop" String="[0-9]+\.[0-9]+(?:[eE][+-]?[0-9]+)?" />
- <RegExpr attribute="Number" context="#pop" String="\d+#[a-zA-Z0-9]+" />
- <RegExpr attribute="Integer" context="#pop" String="\$\S" />
- <RegExpr attribute="Integer" context="#pop" String="[0-9]+" />
+ <RegExpr attribute="Float" context="#stay" String="[0-9]+\.[0-9]+(?:[eE][+-]?[0-9]+)?" />
+ <RegExpr attribute="Number" context="#stay" String="\d+#[a-zA-Z0-9]+" />
+ <RegExpr attribute="Integer" context="#stay" String="\$\S" />
+ <RegExpr attribute="Integer" context="#stay" String="[0-9]+" />
</context>