Warning, /frameworks/syntax-highlighting/data/syntax/m4.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <!DOCTYPE language> 0003 <!-- 0004 0005 GNU M4 syntax highlightning. 0006 Corresponds to GNU M4 version 1.4.16. 0007 0008 For KatePart (Kate, KWrite etc) copy this file to 0009 ~/.kde/share/apps/katepart/syntax/ 0010 0011 For Qt Creator copy this file to 0012 ~/.config/Nokia/qtcreator/generic-highlighter/ 0013 0014 0015 Copyright (c) 2011, Cybernetica AS ( http://www.cyber.ee/ ) 0016 All rights reserved. 0017 0018 Redistribution and use in source and binary forms, with or without 0019 modification, are permitted provided that the following conditions are met: 0020 * Redistributions of source code must retain the above copyright 0021 notice, this list of conditions and the following disclaimer. 0022 * Redistributions in binary form must reproduce the above copyright 0023 notice, this list of conditions and the following disclaimer in the 0024 documentation and/or other materials provided with the distribution. 0025 * Neither the name of Cybernetica AS nor the names of its contributors 0026 may be used to endorse or promote products derived from this software 0027 without specific prior written permission. 0028 0029 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 0030 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 0031 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 0032 DISCLAIMED. IN NO EVENT SHALL Cybernetica AS BE LIABLE FOR ANY 0033 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 0034 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 0035 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 0036 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 0037 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 0038 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 0039 0040 --> 0041 <language name="GNU M4" version="5" section="Sources" kateversion="5.0" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License"> 0042 <highlighting> 0043 <list name="optbuiltins"> 0044 <item>__gnu__</item> 0045 <item>__os2__</item> 0046 <item>os2</item> 0047 <item>__unix__</item> 0048 <item>unix</item> 0049 <item>__windows__</item> 0050 <item>windows</item> 0051 </list> 0052 <list name="m4_optbuiltins"> 0053 <item>m4___gnu__</item> 0054 <item>m4___os2__</item> 0055 <item>m4_os2</item> 0056 <item>m4___unix__</item> 0057 <item>m4_unix</item> 0058 <item>m4___windows__</item> 0059 <item>m4_windows</item> 0060 </list> 0061 <list name="builtins"> 0062 <item>__file__</item> 0063 <item>__line__</item> 0064 <item>__program__</item> 0065 <item>builtin</item> 0066 <item>changecom</item> 0067 <item>changequote</item> 0068 <item>changeword</item> 0069 <item>debugfile</item> 0070 <item>debugmode</item> 0071 <item>decr</item> 0072 <item>define</item> 0073 <item>defn</item> 0074 <item>divert</item> 0075 <item>divnum</item> 0076 <item>dnl</item> 0077 <item>dumpdef</item> 0078 <item>errprint</item> 0079 <item>esyscmd</item> 0080 <item>eval</item> 0081 <item>format</item> 0082 <item>ifdef</item> 0083 <item>ifelse</item> 0084 <item>include</item> 0085 <item>incr</item> 0086 <item>index</item> 0087 <item>indir</item> 0088 <item>len</item> 0089 <item>m4exit</item> 0090 <item>m4wrap</item> 0091 <item>maketemp</item> 0092 <item>mkstemp</item> 0093 <item>patsubst</item> 0094 <item>popdef</item> 0095 <item>pushdef</item> 0096 <item>regexp</item> 0097 <item>shift</item> 0098 <item>sinclude</item> 0099 <item>substr</item> 0100 <item>syscmd</item> 0101 <item>sysval</item> 0102 <item>traceon</item> 0103 <item>traceoff</item> 0104 <item>translit</item> 0105 <item>undefine</item> 0106 <item>undivert</item> 0107 </list> 0108 <list name="m4_builtins"> 0109 <item>m4___file__</item> 0110 <item>m4___line__</item> 0111 <item>m4___program__</item> 0112 <item>m4_builtin</item> 0113 <item>m4_changecom</item> 0114 <item>m4_changequote</item> 0115 <item>m4_changeword</item> 0116 <item>m4_debugfile</item> 0117 <item>m4_debugmode</item> 0118 <item>m4_decr</item> 0119 <item>m4_define</item> 0120 <item>m4_defn</item> 0121 <item>m4_divert</item> 0122 <item>m4_divnum</item> 0123 <item>m4_dnl</item> 0124 <item>m4_dumpdef</item> 0125 <item>m4_errprint</item> 0126 <item>m4_esyscmd</item> 0127 <item>m4_eval</item> 0128 <item>m4_format</item> 0129 <item>m4_ifdef</item> 0130 <item>m4_ifelse</item> 0131 <item>m4_include</item> 0132 <item>m4_incr</item> 0133 <item>m4_index</item> 0134 <item>m4_indir</item> 0135 <item>m4_len</item> 0136 <item>m4_m4exit</item> 0137 <item>m4_m4wrap</item> 0138 <item>m4_maketemp</item> 0139 <item>m4_mkstemp</item> 0140 <item>m4_patsubst</item> 0141 <item>m4_popdef</item> 0142 <item>m4_pushdef</item> 0143 <item>m4_regexp</item> 0144 <item>m4_shift</item> 0145 <item>m4_sinclude</item> 0146 <item>m4_substr</item> 0147 <item>m4_syscmd</item> 0148 <item>m4_sysval</item> 0149 <item>m4_traceon</item> 0150 <item>m4_traceoff</item> 0151 <item>m4_translit</item> 0152 <item>m4_undefine</item> 0153 <item>m4_undivert</item> 0154 </list> 0155 <contexts> 0156 <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text"> 0157 <keyword attribute="Builtins" String="builtins" context="#stay"/> 0158 <keyword attribute="Builtins (prefixed with m4_)" String="m4_builtins" context="#stay"/> 0159 <keyword attribute="Optional builtins" String="optbuiltins" context="#stay"/> 0160 <keyword attribute="Optional builtins (prefixed with m4_)" String="m4_optbuiltins" context="#stay"/> 0161 <RegExpr attribute="Normal Text" String="[a-zA-Z_]\w+" context="#stay"/> 0162 <RegExpr attribute="Special arguments to macros" String="\$([1-9]\d*|0|\#|\*|\@|\{([1-9]\d*|0)\})" context="#stay"/> 0163 <RegExpr attribute="Int" String="([1-9]\d*|0|0x[0-9abcdefABCDEF]+)" context="#stay"/> 0164 <DetectChar attribute="Comment" char="#" context="Comment"/> 0165 <DetectChar attribute="Commas" char="," context="#stay"/> 0166 <DetectChar attribute="Operators" char="(" context="inparenthesis" beginRegion="parenthesis"/> 0167 <DetectChar attribute="Operators" char=")" context="#pop" endRegion="parenthesis"/> 0168 <AnyChar attribute="Operators" String="+*/%|=!<>^&~-" context="#stay"/> 0169 </context> 0170 <context name="inparenthesis" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true"> 0171 <IncludeRules context="Normal Text" /> 0172 </context> 0173 <context name="Comment" attribute="Comment" lineEndContext="#pop"> 0174 <DetectSpaces /> 0175 <IncludeRules context="##Comments" /> 0176 </context> 0177 </contexts> 0178 <itemDatas> 0179 <itemData name="Builtins" defStyleNum="dsKeyword"/> 0180 <itemData name="Builtins (prefixed with m4_)" defStyleNum="dsKeyword"/> 0181 <itemData name="Optional builtins" defStyleNum="dsKeyword"/> 0182 <itemData name="Optional builtins (prefixed with m4_)" defStyleNum="dsKeyword"/> 0183 <itemData name="Normal Text" defStyleNum="dsNormal"/> 0184 <itemData name="Special arguments to macros" defStyleNum="dsChar"/> 0185 <itemData name="Int" defStyleNum="dsDecVal"/> 0186 <itemData name="Comment" defStyleNum="dsComment"/> 0187 <itemData name="Commas" defStyleNum="dsChar"/> 0188 <itemData name="Operators" defStyleNum="dsChar"/> 0189 </itemDatas> 0190 </highlighting> 0191 <general> 0192 <folding indentationsensitive="1" /> 0193 <comments> 0194 <comment name="singleLine" start="#" position="afterwhitespace"/> 0195 </comments> 0196 </general> 0197 </language> 0198 <!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->