diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
commit | 87fd132d0145d36d9eae9cdf521935202db228f7 (patch) | |
tree | 8e8126d831ffd90f38c34e49cdaec9b134086a8a /kate/data/yacc.xml | |
parent | 2824570e9e6581acc1b9ed81a8889ff5f58dd383 (diff) | |
download | tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.tar.gz tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.zip |
Kate syntax highlighting files update - Sep 2014
Diffstat (limited to 'kate/data/yacc.xml')
-rw-r--r-- | kate/data/yacc.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/data/yacc.xml b/kate/data/yacc.xml index 438bfd8fe..41b83d141 100644 --- a/kate/data/yacc.xml +++ b/kate/data/yacc.xml @@ -25,7 +25,7 @@ This code is released under the LGPL as part of tdelibs/kate. ======================================================================== --> -<language name="Yacc/Bison" version="1.03-1" kateversion="2.4" section="Sources" extensions="*.y;*.yy" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL"> +<language name="Yacc/Bison" version="1.04-1" kateversion="2.4" section="Sources" extensions="*.y;*.yy" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL"> <highlighting> <contexts> @@ -100,7 +100,7 @@ This code is released under the LGPL as part of tdelibs/kate. <DetectChar attribute="Data Type" context="#pop" char=">" /> </context> - <context name="Comment" attribute="Comment"> + <context name="Comment" attribute="Comment" lineEndContext="#stay"> <Detect2Chars attribute="Comment" context="CommentStar" char="/" char1="*" /> <!-- not sure that strict yacc allows that ... but I saw it in some sources ... --> <Detect2Chars attribute="Comment" context="CommentSlash" char="/" char1="/" /> @@ -112,7 +112,7 @@ This code is released under the LGPL as part of tdelibs/kate. <RegExpr attribute="Comment" context="#pop" String="[^\\]$" /> </context> - <context name="StringOrChar" attribute="NormalText"> + <context name="StringOrChar" attribute="NormalText" lineEndContext="#stay"> <DetectChar attribute="String Char" context="Char" char="'" /> <DetectChar attribute="String" context="String" char=""" /> </context> @@ -131,10 +131,10 @@ This code is released under the LGPL as part of tdelibs/kate. <IncludeRules context="##C++" /> <DetectChar attribute="Directive" context="Dol" char="$" /> </context> - <context name="Dol" attribute="Normal Text" fallthrough="true" fallthroughContext="DolEnd"> + <context name="Dol" attribute="Normal Text" fallthrough="true" fallthroughContext="DolEnd" lineEndContext="#stay"> <RegExpr attribute="Data Type" context="DolEnd" String="<[^>]+>" /> </context> - <context name="DolEnd" attribute="Normal Text"> + <context name="DolEnd" attribute="Normal Text" lineEndContext="#stay"> <RegExpr attribute="Directive" context="#pop#pop" String="\d+" /> <DetectChar attribute="Directive" context="#pop#pop" char="$" /> </context> |