diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-01 12:38:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-01 12:38:43 +0900 |
commit | b67b7f2b784c7105e88a5e639d9d84736ae2cbc1 (patch) | |
tree | 0fd16d439c681c07d57d7f0d544c7582e04c3a31 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/etc/uncrustify.xml.in | |
parent | c0a6f1b84c84749908961579b84513fd9f9d9eac (diff) | |
download | extra-dependencies-b67b7f2b784c7105e88a5e639d9d84736ae2cbc1.tar.gz extra-dependencies-b67b7f2b784c7105e88a5e639d9d84736ae2cbc1.zip |
uncrustify-trinity: updated based on upstream version 0.78.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/etc/uncrustify.xml.in')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/etc/uncrustify.xml.in | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/etc/uncrustify.xml.in b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/etc/uncrustify.xml.in new file mode 100644 index 00000000..33f6c6a5 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/etc/uncrustify.xml.in @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Uncrustify Configuration" + section="Configuration" + extensions="uncrustify.cfg;uncrustify.conf;.uncrustify.cfg;.uncrustify.conf" + mimetype="" + version="##VERSION##" + kateversion="2.0" + author="Matthew Woehlke (mwoehlke.floss@gmail.com)" + license="LGPL" + priority="5"> + + <highlighting> + <list name="options"> + ##OPTION_KEYWORDS## + </list> + <list name="values"> + ##VALUE_KEYWORDS## + </list> + <list name="tokens"> + ##TOKEN_TYPE_KEYWORDS## + </list> + <list name="directives"> + <item>file_ext</item> + <item>include</item> + <item>macro-close</item> + <item>macro-else</item> + <item>macro-open</item> + <item>type</item> + <item>using</item> + </list> + + <contexts> + <context name="Root" attribute="Normal Text" lineEndContext="#stay"> + <WordDetect context="SetDirective" attribute="Directive" String="set" /> + <keyword context="Values" attribute="Directive" String="directives" /> + <keyword context="Values" attribute="Option" String="options" /> + <DetectChar context="Comment" attribute="Comment" char="#" /> + </context> + + <context name="Values" attribute="String" lineEndContext="#pop" > + <DetectSpaces attribute="Normal Text" /> + <RegExpr contex="#stay" attribute="Number" String="-?[0-9]+" /> + <keyword contex="#stay" attribute="Value" String="values" /> + <DetectChar context="#stay" attribute="Assignment" char="=" /> + <DetectChar context="StringSQ" attribute="String" char="'" /> + <DetectChar context="StringDQ" attribute="String" char=""" /> + <DetectChar context="Comment" attribute="Comment" char="#" /> + </context> + + <context name="StringSQ" attribute="String" lineEndContext="Error" > + <RegExpr context="#stay" attribute="String" String="\\." /> + <DetectChar context="#pop" attribute="String" char="'" /> + </context> + + <context name="StringDQ" attribute="String" lineEndContext="Error" > + <RegExpr context="#stay" attribute="String" String="\\." /> + <DetectChar context="#pop" attribute="String" char=""" /> + </context> + + <context name="SetDirective" attribute="Error" lineEndContext="#pop" > + <DetectSpaces attribute="Normal Text" /> + <keyword context="Values" attribute="Token" String="tokens" /> + </context> + + <context name="Error" attribute="Error" lineEndContext="#stay" /> + + <context name="Comment" attribute="Comment" lineEndContext="#pop"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Directive" defStyleNum="dsFunction" /> + <itemData name="Option" defStyleNum="dsDataType" /> + <itemData name="Token" defStyleNum="dsChar" /> + <itemData name="Value" defStyleNum="dsKeyword" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Number" defStyleNum="dsDecVal" /> + <itemData name="Assignment" defStyleNum="dsOthers" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Error" defStyleNum="dsError" /> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="#" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> |