| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language |
| 3 |
[ |
| 4 |
<!ENTITY n "[A-Za-z0-9_-]"> |
| 5 |
<!ENTITY n1 "[A-Za-z0-9_/.-]"> |
| 6 |
<!ENTITY tristateConst "[nmy](?!(&n;|\$))"> |
| 7 |
<!ENTITY badCom "[^ \t#$A-Za-z0-9_"']"> |
| 8 |
<!ENTITY badParam "[^ \t$#A-Za-z0-9_/."'&<>\|\(\)!=-]"> |
| 9 |
<!ENTITY tab "( ? ? ? ? ? ? ?\t| )"> |
| 10 |
]> |
| 11 |
|
| 12 |
<!-- |
| 13 |
Kate Kconfig highlighting definition |
| 14 |
|
| 15 |
This is for Kconfig files of LKC (LinuxKernelConf), the configuration system |
| 16 |
that is in use by and maintained with the Linux Kernel since release 2.5.45, |
| 17 |
i.e. in particular throughout all 2.6 release series and the 5.x releases so far |
| 18 |
(up to 5.14 as of this writing). |
| 19 |
|
| 20 |
There have been several minor syntax modifications since Linux Kernel 2.5.45, |
| 21 |
and it is likely that there will be more in the future. |
| 22 |
|
| 23 |
When it comes to details, the language of LKC is extremely complicated. At the |
| 24 |
same time this definition aims to be precise. As a result it is rather long and |
| 25 |
you may notice increased CPU usage when opening large files, depending on |
| 26 |
your hardware. |
| 27 |
|
| 28 |
There are other projects that use the same configuration system: |
| 29 |
busybox (http://busybox.net/), uClibc (http://www.uclibc.org/), |
| 30 |
OpenWrt (https://openwrt.org/) and many more. Of course you can use this |
| 31 |
definition also for those configuration files, but be aware that the versions of |
| 32 |
LKC in those projects may be highly outdated. Sporadically you can even find |
| 33 |
project specific syntax modifications that have never been part of upstream LKC. |
| 34 |
|
| 35 |
If you are interested in the standalone configuration system (e.g. for your own |
| 36 |
project) stripped from the Linux kernel, take a look at kconfig-frontends |
| 37 |
(https://gitlab.com/ymorin/kconfig-frontends). |
| 38 |
|
| 39 |
Newer changes in the configuration language: |
| 40 |
|
| 41 |
2.6.18: |
| 42 |
- add "option" for config blocks (first options: "modules" and "defconfig_list") |
| 43 |
2.6.24: |
| 44 |
- remove "requires" (synonymous for "depends on", hardly ever used) |
| 45 |
- remove "depends" (without "on", also synonymous for "depends on", was rare) |
| 46 |
- remove "def_boolean" (synonymous for "def_bool", hardly ever used) |
| 47 |
2.6.25: |
| 48 |
- add option "env=..." to import values of environment variables |
| 49 |
- remove "enable" property (you have probably never seen this one) |
| 50 |
2.6.26 |
| 51 |
- add named choice groups like "choice FOO" (hardly ever seen, buggy, avoid it) |
| 52 |
2.6.37: |
| 53 |
- reduce "mainmenu" to occur only as first statement |
| 54 |
- add "visible if" property to menus |
| 55 |
3.15: |
| 56 |
- add option "allnoconfig_yes" |
| 57 |
4.2: |
| 58 |
- add <=, >=, <, > operators |
| 59 |
4.10: |
| 60 |
- add "imply" |
| 61 |
4.16: |
| 62 |
- remove "boolean" type in favor of "bool" only (deprecated here) |
| 63 |
4.18: |
| 64 |
- remove option "env" (deprecated here) |
| 65 |
- add Makefile style environment variables to quoted strings and symbols |
| 66 |
- add Makefile style function calls to quoted strings and symbols |
| 67 |
5.0: |
| 68 |
- prohibit dot "." and slash "/" in unquoted strings (deprecated here) |
| 69 |
- limit symbol options per option property to one (never seen more - dropped) |
| 70 |
- restrict choice options to the types bool and tristate, i.e. remove string, |
| 71 |
int and hex (they do not make much sense for choice, deprecated here) |
| 72 |
5.6: |
| 73 |
- remove all unquoted strings except for symbols (deprecated here) |
| 74 |
5.8: |
| 75 |
- reduce the permitted statements in choice blocks to config, comment |
| 76 |
and if (deprecated here) |
| 77 |
5.9: |
| 78 |
- remove triple-dash enclosed "help" property (deprecated here) |
| 79 |
5.13: |
| 80 |
- remove "allnoconfig_yes" option introduced in 3.15 (deprecated here) |
| 81 |
- remove "defconfig_list" option introduced in 2.6.18 (deprecated here) |
| 82 |
- promote "modules" option to a standalone property |
| 83 |
- remove "option" keyword introduced in 2.6.18 (deprecated here) |
| 84 |
--> |
| 85 |
|
| 86 |
<language name="Kconfig" section="Configuration" extensions="Kconfig*;Config.*" version="12" kateversion="5.74" casesensitive="true" priority="-9" author="Martin Walch ([email protected])" license="GPLv3"> |
| 87 |
|
| 88 |
<highlighting> |
| 89 |
<list name="choice_type"> |
| 90 |
<item>bool</item> |
| 91 |
<item>tristate</item> |
| 92 |
</list> |
| 93 |
|
| 94 |
<list name="choice_type_deprecated"> |
| 95 |
<item>boolean</item> |
| 96 |
</list> |
| 97 |
|
| 98 |
<list name="choice_bad_type"> |
| 99 |
<item>string</item> |
| 100 |
<item>int</item> |
| 101 |
<item>hex</item> |
| 102 |
</list> |
| 103 |
|
| 104 |
<list name="def_type"> |
| 105 |
<item>def_bool</item> |
| 106 |
<item>def_tristate</item> |
| 107 |
</list> |
| 108 |
|
| 109 |
<list name="type"> |
| 110 |
<item>bool</item> |
| 111 |
<item>tristate</item> |
| 112 |
<item>string</item> |
| 113 |
<item>int</item> |
| 114 |
<item>hex</item> |
| 115 |
</list> |
| 116 |
|
| 117 |
<list name="type_deprecated"> |
| 118 |
<item>boolean</item> |
| 119 |
</list> |
| 120 |
|
| 121 |
<list name="config"> |
| 122 |
<item>config</item> |
| 123 |
<item>menuconfig</item> |
| 124 |
</list> |
| 125 |
|
| 126 |
<list name="entry"> |
| 127 |
<item>if</item> |
| 128 |
<item>comment</item> |
| 129 |
<item>config</item> |
| 130 |
<item>menuconfig</item> |
| 131 |
<item>source</item> |
| 132 |
</list> |
| 133 |
|
| 134 |
<list name="keyword"> |
| 135 |
<item>bool</item> |
| 136 |
<item>choice</item> |
| 137 |
<item>comment</item> |
| 138 |
<item>config</item> |
| 139 |
<item>def_bool</item> |
| 140 |
<item>def_tristate</item> |
| 141 |
<item>default</item> |
| 142 |
<item>depends</item> |
| 143 |
<item>endchoice</item> |
| 144 |
<item>endif</item> |
| 145 |
<item>endmenu</item> |
| 146 |
<item>help</item> |
| 147 |
<item>hex</item> |
| 148 |
<item>if</item> |
| 149 |
<item>imply</item> |
| 150 |
<item>int</item> |
| 151 |
<item>mainmenu</item> |
| 152 |
<item>menu</item> |
| 153 |
<item>menuconfig</item> |
| 154 |
<item>modules</item> |
| 155 |
<item>on</item> |
| 156 |
<item>optional</item> |
| 157 |
<item>prompt</item> |
| 158 |
<item>range</item> |
| 159 |
<item>select</item> |
| 160 |
<item>source</item> |
| 161 |
<item>string</item> |
| 162 |
<item>tristate</item> |
| 163 |
<item>visible</item> |
| 164 |
</list> |
| 165 |
|
| 166 |
<list name="entry_keyword"> |
| 167 |
<item>choice</item> |
| 168 |
<item>comment</item> |
| 169 |
<item>config</item> |
| 170 |
<item>endchoice</item> |
| 171 |
<item>endif</item> |
| 172 |
<item>endmenu</item> |
| 173 |
<item>if</item> |
| 174 |
<item>menu</item> |
| 175 |
<item>menuconfig</item> |
| 176 |
<item>source</item> |
| 177 |
</list> |
| 178 |
|
| 179 |
<list name="option"> |
| 180 |
<item>modules</item> |
| 181 |
</list> |
| 182 |
|
| 183 |
<list name="option_deprecated"> |
| 184 |
<item>allnoconfig_y</item> |
| 185 |
<item>defconfig_list</item> |
| 186 |
</list> |
| 187 |
|
| 188 |
<list name="tristate_const"> |
| 189 |
<item>n</item> |
| 190 |
<item>m</item> |
| 191 |
<item>y</item> |
| 192 |
</list> |
| 193 |
|
| 194 |
<list name="builtin_function"> |
| 195 |
<item>error-if</item> |
| 196 |
<item>filename</item> |
| 197 |
<item>info</item> |
| 198 |
<item>lineno</item> |
| 199 |
<item>shell</item> |
| 200 |
<item>warning-if</item> |
| 201 |
</list> |
| 202 |
|
| 203 |
<list name="questionable_identifier"> |
| 204 |
<item>allnoconfig_y</item> |
| 205 |
<item>boolean</item> |
| 206 |
<item>defconfig_list</item> |
| 207 |
<item>option</item> |
| 208 |
</list> |
| 209 |
|
| 210 |
<contexts> |
| 211 |
<context name="input" attribute="Plain" lineEndContext="#stay" fallthroughContext="#pop!stmt_list"> |
| 212 |
<IncludeRules context="wsOrComment" /> |
| 213 |
<WordDetect String="mainmenu" attribute="Keyword" context="mainmenuPrompt" /> |
| 214 |
</context> |
| 215 |
|
| 216 |
<context name="mainmenuPrompt" attribute="Plain" lineEndContext="#pop!stmt_list.error" fallthroughContext="#pop!stmt_list.error"> |
| 217 |
<IncludeRules context="wsOrComment" /> |
| 218 |
<DetectChar char="'" attribute="Quoted Mainmenu Prompt" context="#pop!stmt_list.nl.SQMainmenuPrompt" /> |
| 219 |
<DetectChar char=""" attribute="Quoted Mainmenu Prompt" context="#pop!stmt_list.nl.DQMainmenuPrompt" /> |
| 220 |
<RegExpr String="&n1;+" attribute="Deprecated Unquoted Mainmenu Prompt" context="#pop!stmt_list.nl" /> |
| 221 |
</context> |
| 222 |
|
| 223 |
<context name="stmt_list.nl.SQMainmenuPrompt" attribute="Quoted Mainmenu Prompt" lineEndContext="#pop!stmt_list.error"> |
| 224 |
<IncludeRules context="expansionAndEscape" /> |
| 225 |
<DetectChar char="'" attribute="Quoted Mainmenu Prompt" context="#pop!stmt_list.nl" /> |
| 226 |
<RegExpr String="\$&n;+" attribute="Deprecated Expansion" context="#stay" /> |
| 227 |
</context> |
| 228 |
|
| 229 |
<context name="stmt_list.nl.DQMainmenuPrompt" attribute="Quoted Mainmenu Prompt" lineEndContext="#pop!stmt_list.error"> |
| 230 |
<DetectChar char=""" attribute="Quoted Mainmenu Prompt" context="#pop!stmt_list.nl" /> |
| 231 |
<IncludeRules context="expansionAndEscape" /> |
| 232 |
<RegExpr String="\$&n;+" attribute="Deprecated Expansion" context="#stay" /> |
| 233 |
</context> |
| 234 |
|
| 235 |
<context name="stmt_list.nl" attribute="Plain" lineEndContext="#pop!stmt_list" fallthroughContext="#pop!stmt_list.error"> |
| 236 |
<IncludeRules context="wsOrComment" /> |
| 237 |
<IncludeRules context="ignoreBadParamChars" /> |
| 238 |
</context> |
| 239 |
|
| 240 |
<!-- Mainmenu over --> |
| 241 |
|
| 242 |
<context name="source_stmt" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 243 |
<IncludeRules context="wsOrComment" /> |
| 244 |
<DetectChar char="'" attribute="Quoted Source String" context="#pop!nl.SQStringSource" /> |
| 245 |
<DetectChar char=""" attribute="Quoted Source String" context="#pop!nl.DQStringSource" /> |
| 246 |
<RegExpr String="&n1;+" attribute="Deprecated Unquoted Source String" context="#pop" /> |
| 247 |
</context> |
| 248 |
|
| 249 |
<context name="nl.SQStringSource" attribute="Quoted Source String" lineEndContext="stmt_list.error"> |
| 250 |
<DetectChar char="'" attribute="Quoted Source String" context="#pop!nl" /> |
| 251 |
<IncludeRules context="expansionAndEscape" /> |
| 252 |
<RegExpr String="\$&n;+" attribute="Deprecated Expansion" context="#stay" /> |
| 253 |
</context> |
| 254 |
|
| 255 |
<context name="nl.DQStringSource" attribute="Quoted Source String" lineEndContext="stmt_list.error"> |
| 256 |
<DetectChar char=""" attribute="Quoted Source String" context="#pop!nl" /> |
| 257 |
<IncludeRules context="expansionAndEscape" /> |
| 258 |
<RegExpr String="\$&n;+" attribute="Deprecated Expansion" context="#stay" /> |
| 259 |
</context> |
| 260 |
|
| 261 |
<context name="choice_entry" attribute="Plain" lineEndContext="#pop!choice_option_list" fallthroughContext="#pop!error"> |
| 262 |
<IncludeRules context="wsOrComment" /> |
| 263 |
<RegExpr String="(&n;|\$)+(?!&n1;)" lookAhead="true" context="#pop!choice_option_list.nl.expandableIdentifier" /> |
| 264 |
<RegExpr String="&n1;+" attribute="Deprecated Variable Symbol" context="#pop!choice_option_list.nl" /> |
| 265 |
</context> |
| 266 |
|
| 267 |
<context name="choice_option_list.nl.expandableIdentifier" attribute="Variable Symbol" lineEndContext="#pop!choice_option_list" fallthroughContext="#pop!error"> |
| 268 |
<IncludeRules context="expandableIdentifier" /> |
| 269 |
</context> |
| 270 |
|
| 271 |
<context name="choice_option_list.nl" attribute="Plain" lineEndContext="#pop!choice_option_list" fallthroughContext="#pop!choice_option_list.error"> |
| 272 |
<IncludeRules context="wsOrComment" /> |
| 273 |
<IncludeRules context="ignoreBadParamChars" /> |
| 274 |
</context> |
| 275 |
|
| 276 |
<context name="choice_option_list" attribute="Plain" lineEndContext="#stay" fallthroughContext="error"> |
| 277 |
<IncludeRules context="wsOrComment" /> |
| 278 |
<WordDetect String="prompt" attribute="Property" context="ifOpt.prompt" /> |
| 279 |
<keyword String="choice_type" attribute="Type" context="ifOpt.prompt_stmt_opt" /> |
| 280 |
<keyword String="choice_type_deprecated" attribute="Deprecated Type" context="ifOpt.prompt_stmt_opt" /> |
| 281 |
<keyword String="choice_bad_type" attribute="Deprecated Bad Choice Type" context="ifOpt.prompt_stmt_opt" /> |
| 282 |
<WordDetect String="optional" attribute="Property" context="nl" /> |
| 283 |
<WordDetect String="default" attribute="Property" context="ifOpt.symbolVar" /> |
| 284 |
<WordDetect String="depends" attribute="Property" context="depends" /> |
| 285 |
<WordDetect String="help" attribute="Property" beginRegion="help" context="helpEntry" /> |
| 286 |
<StringDetect String="---help---" attribute="Deprecated Property" beginRegion="help" context="helpEntry" /> |
| 287 |
<keyword String="entry" lookAhead="true" context="#pop!choice_block" /> |
| 288 |
<WordDetect String="endchoice" attribute="Keyword" endRegion="choice_stmt" context="#pop!nl" /> |
| 289 |
<IncludeRules context="ignoreBadComChars" /> |
| 290 |
</context> |
| 291 |
|
| 292 |
<context name="choice_block" attribute="Plain" lineEndContext="#stay" fallthroughContext="#pop!error"> |
| 293 |
<IncludeRules context="wsOrComment" /> |
| 294 |
<IncludeRules context="common_stmt" /> |
| 295 |
<WordDetect String="endchoice" attribute="Keyword" endRegion="choice_stmt" context="#pop!nl" /> |
| 296 |
<IncludeRules context="ignoreBadComChars" /> |
| 297 |
</context> |
| 298 |
|
| 299 |
<context name="depends" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 300 |
<IncludeRules context="wsOrComment" /> |
| 301 |
<LineContinue context="#stay" /> |
| 302 |
<WordDetect String="on" attribute="Property" context="#pop!nl.expr" /> |
| 303 |
<IncludeRules context="ignoreBadParamChars" /> |
| 304 |
</context> |
| 305 |
|
| 306 |
<context name="ifOpt.prompt_stmt_opt" attribute="Plain" lineEndContext="#pop"> |
| 307 |
<IncludeRules context="wsOrComment" /> |
| 308 |
<DetectChar char="'" attribute="Quoted Prompt" context="#pop!ifOpt.SQPrompt" /> |
| 309 |
<DetectChar char=""" attribute="Quoted Prompt" context="#pop!ifOpt.DQPrompt" /> |
| 310 |
<RegExpr String="&n1;+" attribute="Deprecated Unquoted Prompt" context="#pop!ifOpt" /> |
| 311 |
</context> |
| 312 |
|
| 313 |
<context name="ifOpt" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop!error"> |
| 314 |
<IncludeRules context="wsOrComment" /> |
| 315 |
<LineContinue context="#stay" /> |
| 316 |
<WordDetect String="if" attribute="Keyword" context="#pop!nl.expr" /> |
| 317 |
<IncludeRules context="ignoreBadParamChars" /> |
| 318 |
</context> |
| 319 |
|
| 320 |
<context name="nl" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop!error"> |
| 321 |
<IncludeRules context="wsOrComment" /> |
| 322 |
<IncludeRules context="ignoreBadParamChars" /> |
| 323 |
</context> |
| 324 |
|
| 325 |
<context name="ifOpt.prompt" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 326 |
<IncludeRules context="wsOrComment" /> |
| 327 |
<DetectChar char="'" attribute="Quoted Prompt" context="#pop!ifOpt.SQPrompt" /> |
| 328 |
<DetectChar char=""" attribute="Quoted Prompt" context="#pop!ifOpt.DQPrompt" /> |
| 329 |
<RegExpr String="&n1;+" attribute="Deprecated Unquoted Prompt" context="#pop!ifOpt" /> |
| 330 |
</context> |
| 331 |
|
| 332 |
<context name="ifOpt.SQPrompt" attribute="Quoted Prompt" lineEndContext="#pop!error"> |
| 333 |
<DetectChar char="'" attribute="Quoted Prompt" context="#pop!ifOpt" /> |
| 334 |
<IncludeRules context="expansionAndEscape" /> |
| 335 |
</context> |
| 336 |
|
| 337 |
<context name="ifOpt.DQPrompt" attribute="Quoted Prompt" lineEndContext="#pop!error"> |
| 338 |
<DetectChar char=""" attribute="Quoted Prompt" context="#pop!ifOpt" /> |
| 339 |
<IncludeRules context="expansionAndEscape" /> |
| 340 |
</context> |
| 341 |
|
| 342 |
<context name="menu_visList.nl.SQPrompt" attribute="Quoted Prompt" lineEndContext="#pop!error"> |
| 343 |
<DetectChar char="'" attribute="Quoted Prompt" context="#pop!menu_visList.nl" /> |
| 344 |
<IncludeRules context="expansionAndEscape" /> |
| 345 |
</context> |
| 346 |
|
| 347 |
<context name="menu_visList.nl.DQPrompt" attribute="Quoted Prompt" lineEndContext="#pop!error"> |
| 348 |
<DetectChar char=""" attribute="Quoted Prompt" context="#pop!menu_visList.nl" /> |
| 349 |
<IncludeRules context="expansionAndEscape" /> |
| 350 |
</context> |
| 351 |
|
| 352 |
<context name="comment_stmt.nl.prompt" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 353 |
<IncludeRules context="wsOrComment" /> |
| 354 |
<DetectChar char="'" attribute="Quoted Prompt" context="#pop!comment_stmt.nl.SQPrompt" /> |
| 355 |
<DetectChar char=""" attribute="Quoted Prompt" context="#pop!comment_stmt.nl.DQPrompt" /> |
| 356 |
<RegExpr String="&n1;+" attribute="Deprecated Unquoted Prompt" context="#pop!comment_stmt.nl" /> |
| 357 |
</context> |
| 358 |
|
| 359 |
<context name="comment_stmt.nl.SQPrompt" attribute="Quoted Prompt" lineEndContext="#pop!error"> |
| 360 |
<DetectChar char="'" attribute="Quoted Prompt" context="#pop!comment_stmt.nl" /> |
| 361 |
<IncludeRules context="expansionAndEscape" /> |
| 362 |
</context> |
| 363 |
|
| 364 |
<context name="comment_stmt.nl.DQPrompt" attribute="Quoted Prompt" lineEndContext="#pop!error"> |
| 365 |
<DetectChar char=""" attribute="Quoted Prompt" context="#pop!comment_stmt.nl" /> |
| 366 |
<IncludeRules context="expansionAndEscape" /> |
| 367 |
</context> |
| 368 |
|
| 369 |
<context name="comment_stmt.nl" attribute="Plain" lineEndContext="#pop!comment_stmt" fallthroughContext="error"> |
| 370 |
<IncludeRules context="wsOrComment" /> |
| 371 |
<IncludeRules context="ignoreBadParamChars" /> |
| 372 |
</context> |
| 373 |
|
| 374 |
<context name="comment_stmt" attribute="Plain" lineEndContext="#stay" fallthroughContext="error"> |
| 375 |
<IncludeRules context="wsOrComment" /> |
| 376 |
<WordDetect String="depends" attribute="Property" context="depends" /> |
| 377 |
<keyword String="entry_keyword" lookAhead="true" endRegion="comment_stmt" context="#pop" /> |
| 378 |
<IncludeRules context="ignoreBadComChars" /> |
| 379 |
<RegExpr String="." lookAhead="true" endRegion="config_stmt" context="#pop" /> |
| 380 |
</context> |
| 381 |
|
| 382 |
<context name="config_entry_start" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 383 |
<IncludeRules context="wsOrComment" /> |
| 384 |
<RegExpr String="(&n;|\$)+(?!&n1;)" lookAhead="true" context="#pop!config_option_list.nl.expandableIdentifier" /> |
| 385 |
<RegExpr String="&n1;+" attribute="Deprecated Variable Symbol" context="#pop!config_option_list.nl" /> |
| 386 |
</context> |
| 387 |
|
| 388 |
<context name="config_option_list.nl.expandableIdentifier" attribute="Variable Symbol" lineEndContext="#pop!config_option_list" fallthroughContext="#pop!config_option_list.nl"> |
| 389 |
<IncludeRules context="expandableIdentifier" /> |
| 390 |
</context> |
| 391 |
|
| 392 |
<context name="config_option_list.nl" attribute="Plain" lineEndContext="#pop!config_option_list" fallthroughContext="#pop!config_option_list.error"> |
| 393 |
<IncludeRules context="wsOrComment" /> |
| 394 |
<IncludeRules context="ignoreBadParamChars" /> |
| 395 |
</context> |
| 396 |
|
| 397 |
<context name="config_option_list" attribute="Plain" lineEndContext="#stay"> |
| 398 |
<IncludeRules context="wsOrComment" /> |
| 399 |
<WordDetect String="prompt" attribute="Property" context="ifOpt.prompt" /> |
| 400 |
<keyword String="type" attribute="Type" context="ifOpt.prompt_stmt_opt" /> |
| 401 |
<keyword String="type_deprecated" attribute="Deprecated Type" context="ifOpt.prompt_stmt_opt" /> |
| 402 |
<WordDetect String="default" attribute="Property" context="ifOpt.expr" /> |
| 403 |
<keyword String="def_type" lookAhead="true" context="ifOpt.expr.type" /> |
| 404 |
<WordDetect String="depends" attribute="Property" context="depends" /> |
| 405 |
<WordDetect String="select" attribute="Property" context="ifOpt.symbolVar" /> |
| 406 |
<WordDetect String="imply" attribute="Property" context="ifOpt.symbolVar" /> |
| 407 |
<WordDetect String="range" attribute="Property" context="range" /> |
| 408 |
<WordDetect String="help" attribute="Property" beginRegion="help" context="helpEntry" /> |
| 409 |
<StringDetect String="---help---" attribute="Deprecated Property" beginRegion="help" context="helpEntry" /> |
| 410 |
<WordDetect String="option" attribute="Deprecated Keyword" context="option" /> |
| 411 |
<WordDetect String="modules" attribute="Property" context="nl" /> |
| 412 |
<keyword String="entry_keyword" lookAhead="true" endRegion="config_stmt" context="#pop" /> |
| 413 |
<IncludeRules context="ignoreBadComChars" /> |
| 414 |
<RegExpr String="." lookAhead="true" endRegion="config_stmt" context="#pop" /> |
| 415 |
</context> |
| 416 |
|
| 417 |
<context name="ifOpt.expr.type" attribute="Plain" lineEndContext="#pop!error"> |
| 418 |
<StringDetect String="def_" attribute="Property" context="#stay" /> |
| 419 |
<StringDetect String="bool" attribute="Type" context="#pop!ifOpt.expr" /> |
| 420 |
<StringDetect String="tristate" attribute="Type" context="#pop!ifOpt.expr" /> |
| 421 |
</context> |
| 422 |
|
| 423 |
<context name="option" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop!error"> |
| 424 |
<IncludeRules context="wsOrComment" /> |
| 425 |
<keyword String="option" attribute="Option" context="optionWithoutValue" /> |
| 426 |
<keyword String="option_deprecated" attribute="Deprecated Option" context="optionWithoutValue" /> |
| 427 |
<WordDetect String="env" attribute="Deprecated Option" context="optionValue.eq" /> |
| 428 |
<RegExpr String="&n;+(?!&n1;)" attribute="Unknown Option" context="optionValue.eq" /> |
| 429 |
<RegExpr String="&n1;+" attribute="Deprecated Unknown Option String" context="optionValue.eq" /> |
| 430 |
</context> |
| 431 |
|
| 432 |
<context name="optionValue.eq" attribute="Deprecated Option" lineEndContext="#pop" fallthroughContext="#pop!error"> |
| 433 |
<IncludeRules context="wsOrComment" /> |
| 434 |
<DetectChar char="=" attribute="Deprecated Option: Equals Sign" context="#pop!optionValue" /> |
| 435 |
</context> |
| 436 |
|
| 437 |
<context name="optionWithoutValue" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop!error"> |
| 438 |
<DetectSpaces /> |
| 439 |
</context> |
| 440 |
|
| 441 |
<context name="SQStringOptionValue" attribute="Deprecated Quoted Option Value" lineEndContext="#pop!error"> |
| 442 |
<DetectChar char="'" attribute="Deprecated Quoted Option Value" context="#pop" /> |
| 443 |
<DetectChar char="\" lookAhead="true" context="escapeInDeprecatedString" /> |
| 444 |
</context> |
| 445 |
|
| 446 |
<context name="DQStringOptionValue" attribute="Deprecated Quoted Option Value" lineEndContext="#pop!error"> |
| 447 |
<DetectChar char=""" attribute="Deprecated Quoted Option Value" context="#pop" /> |
| 448 |
<DetectChar char="\" lookAhead="true" context="escapeInDeprecatedString" /> |
| 449 |
</context> |
| 450 |
|
| 451 |
<context name="optionValue" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop!error"> |
| 452 |
<IncludeRules context="wsOrComment" /> |
| 453 |
<DetectChar char="'" attribute="Deprecated Quoted Option Value" context="#pop!SQStringOptionValue" /> |
| 454 |
<DetectChar char=""" attribute="Deprecated Quoted Option Value" context="#pop!DQStringOptionValue" /> |
| 455 |
<RegExpr String="&n;+(?!&n1;)" attribute="Deprecated Unquoted Option Value" context="#pop" /> |
| 456 |
<RegExpr String="&n1;+" attribute="Deprecated Unquoted Option Value String" context="#pop" /> |
| 457 |
</context> |
| 458 |
|
| 459 |
<context name="ifOpt.expandableIdentifier" attribute="Variable Symbol" lineEndContext="#pop" fallthroughContext="#pop!ifOpt"> |
| 460 |
<IncludeRules context="expandableIdentifier" /> |
| 461 |
</context> |
| 462 |
|
| 463 |
<context name="ifOpt.symbolVar" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 464 |
<IncludeRules context="wsOrComment" /> |
| 465 |
<RegExpr String="&tristateConst;" attribute="Bad Tristate Constant" context="#pop!ifOpt.binOpOrEnd" /> |
| 466 |
<RegExpr String="(&n;|\$)" lookAhead="true" context="#pop!ifOpt.expandableIdentifier" /> |
| 467 |
</context> |
| 468 |
|
| 469 |
<context name="range" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 470 |
<IncludeRules context="wsOrComment" /> |
| 471 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!ifOpt.sym.SQSymbolConst" /> |
| 472 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!ifOpt.sym.DQSymbolConst" /> |
| 473 |
<RegExpr String="&n;+(?!&n1;)" attribute="Variable Symbol" context="#pop!ifOpt.sym" /> |
| 474 |
<RegExpr String="&n1;+" attribute="Deprecated Variable Symbol" context="#pop!ifOpt.sym" /> |
| 475 |
</context> |
| 476 |
|
| 477 |
<context name="ifOpt.sym" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 478 |
<IncludeRules context="wsOrComment" /> |
| 479 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!ifOpt.SQSymbolConst" /> |
| 480 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!ifOpt.DQSymbolConst" /> |
| 481 |
<RegExpr String="&n;+(?!&n1;)" attribute="Variable Symbol" context="#pop!ifOpt" /> |
| 482 |
<RegExpr String="&n1;+" attribute="Deprecated Variable Symbol" context="#pop!ifOpt" /> |
| 483 |
</context> |
| 484 |
|
| 485 |
<context name="ifOpt.sym.SQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 486 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!ifOpt.sym" /> |
| 487 |
<IncludeRules context="expansionAndEscape" /> |
| 488 |
</context> |
| 489 |
|
| 490 |
<context name="ifOpt.sym.DQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 491 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!ifOpt.sym" /> |
| 492 |
<IncludeRules context="expansionAndEscape" /> |
| 493 |
</context> |
| 494 |
|
| 495 |
<context name="ifOpt.SQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 496 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!ifOpt" /> |
| 497 |
<IncludeRules context="expansionAndEscape" /> |
| 498 |
</context> |
| 499 |
|
| 500 |
<context name="ifOpt.DQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 501 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!ifOpt" /> |
| 502 |
<IncludeRules context="expansionAndEscape" /> |
| 503 |
</context> |
| 504 |
|
| 505 |
<context name="menu_entry" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 506 |
<IncludeRules context="wsOrComment" /> |
| 507 |
<DetectChar char="'" attribute="Quoted Prompt" context="#pop!menu_visList.nl.SQPrompt" /> |
| 508 |
<DetectChar char=""" attribute="Quoted Prompt" context="#pop!menu_visList.nl.DQPrompt" /> |
| 509 |
<RegExpr String="&n1;+" attribute="Deprecated Unquoted Prompt" context="#pop!menu_visList.nl" /> |
| 510 |
</context> |
| 511 |
|
| 512 |
<context name="menu_visList.nl" attribute="Plain" lineEndContext="#pop!menu_visList" fallthroughContext="#pop!error"> |
| 513 |
<IncludeRules context="wsOrComment" /> |
| 514 |
<IncludeRules context="ignoreBadParamChars" /> |
| 515 |
</context> |
| 516 |
|
| 517 |
<context name="menu_visList" attribute="Plain" lineEndContext="#stay" fallthroughContext="#pop!menu_depList"> |
| 518 |
<IncludeRules context="wsOrComment" /> |
| 519 |
<WordDetect String="visible" attribute="Property" context="visible" /> |
| 520 |
<IncludeRules context="ignoreBadComChars" /> |
| 521 |
</context> |
| 522 |
|
| 523 |
<context name="visible" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 524 |
<IncludeRules context="wsOrComment" /> |
| 525 |
<WordDetect String="if" attribute="Property" context="#pop!nl.expr" /> |
| 526 |
<IncludeRules context="ignoreBadParamChars" /> |
| 527 |
</context> |
| 528 |
|
| 529 |
<context name="menu_depList" attribute="Plain" lineEndContext="#stay" fallthroughContext="#pop!menu_stmt"> |
| 530 |
<IncludeRules context="wsOrComment" /> |
| 531 |
<WordDetect String="depends" attribute="Property" context="depends" /> |
| 532 |
<IncludeRules context="ignoreBadComChars" /> |
| 533 |
</context> |
| 534 |
|
| 535 |
<context name="menu_stmt" attribute="Plain" lineEndContext="#stay" fallthroughContext="error"> |
| 536 |
<WordDetect String="endmenu" attribute="Keyword" endRegion="menu_stmt" context="#pop!nl" /> |
| 537 |
<IncludeRules context="stmt_list" /> |
| 538 |
</context> |
| 539 |
|
| 540 |
<context name="if_stmt" attribute="Plain" lineEndContext="#stay"> |
| 541 |
<IncludeRules context="wsOrComment" /> |
| 542 |
<WordDetect String="endif" attribute="Keyword" endRegion="if_stmt" context="#pop" /> |
| 543 |
<IncludeRules context="stmt_list" /> |
| 544 |
</context> |
| 545 |
|
| 546 |
<context name="nl.assign_val" attribute="Assignment Value" lineEndContext="#pop"> |
| 547 |
<IncludeRules context="expansion" /> |
| 548 |
<RegExpr String="(&n;|(\$(?!\()))+" context="#stay" /> |
| 549 |
</context> |
| 550 |
|
| 551 |
<context name="nl.assign_val.wsOpt" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop!nl.assign_val"> |
| 552 |
<DetectSpaces /> |
| 553 |
</context> |
| 554 |
|
| 555 |
<context name="nl.assign_val.wsOpt.assign_op" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 556 |
<IncludeRules context="wsOrComment" /> |
| 557 |
<RegExpr String="[+:]?=" attribute="Assignment Operator" context="#pop!nl.assign_val.wsOpt" /> |
| 558 |
</context> |
| 559 |
|
| 560 |
<context name="assignment" attribute="Variable" lineEndContext="#pop" fallthroughContext="#pop!nl.assign_val.wsOpt.assign_op"> |
| 561 |
<keyword String="questionable_identifier" attribute="Deprecated Identifier" context="#pop!nl.assign_val.wsOpt.assign_op" /> |
| 562 |
<IncludeRules context="expandableIdentifier" includeAttrib="false" /> |
| 563 |
</context> |
| 564 |
|
| 565 |
<context name="stmt_list" attribute="Plain" lineEndContext="#stay" fallthroughContext="error"> |
| 566 |
<IncludeRules context="common_stmt" /> |
| 567 |
<WordDetect String="choice" attribute="Keyword" beginRegion="choice_stmt" context="choice_entry" /> |
| 568 |
<WordDetect String="menu" attribute="Keyword" beginRegion="menu_stmt" context="menu_entry" /> |
| 569 |
<keyword String="keyword" context="error" /> |
| 570 |
<IncludeRules context="ignoreBadComChars" /> |
| 571 |
<RegExpr String="(&n;|\$)" lookAhead="true" context="assignment" /> |
| 572 |
</context> |
| 573 |
|
| 574 |
<context name="choice_option_list.error" attribute="Error" lineEndContext="#pop!choice_option_list" /> |
| 575 |
<context name="config_option_list.error" attribute="Error" lineEndContext="#pop!config_option_list" /> |
| 576 |
<context name="stmt_list.error" attribute="Error" lineEndContext="#pop!stmt_list" /> |
| 577 |
<context name="error" attribute="Error" lineEndContext="#pop" /> |
| 578 |
|
| 579 |
<!-- expressions --> |
| 580 |
<context name="nl.expr" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 581 |
<IncludeRules context="wsOrComment" /> |
| 582 |
<LineContinue context="#stay" /> |
| 583 |
<Detect2Chars char="(" char1=")" lookAhead="true" context="#pop!nl.emptyParenthesesInstance" /> |
| 584 |
<DetectChar char="(" attribute="Expression Operator" beginRegion="parentheses" context="#pop!nl.parenthesesInstance" /> |
| 585 |
<DetectChar char="!" attribute="Expression Operator" context="#stay" /> |
| 586 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!nl.binOpOrEnd.SQSymbolConst" /> |
| 587 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!nl.binOpOrEnd.DQSymbolConst" /> |
| 588 |
<keyword String="keyword" context="#pop!error" /> |
| 589 |
<keyword String="tristate_const" attribute="Tristate Constant" context="#pop!nl.binOpOrEnd" /> |
| 590 |
<RegExpr String="(&n;|\$)+(?!&n1;)" lookAhead="true" context="#pop!nl.binOpOrEnd.expandableIdentifier" /> |
| 591 |
<RegExpr String="&n1;+" attribute="Deprecated Variable Symbol" context="#pop!nl.binOpOrEnd" /> |
| 592 |
</context> |
| 593 |
|
| 594 |
<context name="nl.binOpOrEnd.expandableIdentifier" attribute="Variable Symbol" lineEndContext="#pop" fallthroughContext="#pop!nl.binOpOrEnd"> |
| 595 |
<IncludeRules context="expandableIdentifier" /> |
| 596 |
</context> |
| 597 |
|
| 598 |
<context name="nl.emptyParenthesesInstance" attribute="Plain" lineEndContext="#stay"> |
| 599 |
<DetectChar char="(" attribute="Expression Operator" context="#pop!error" /> |
| 600 |
</context> |
| 601 |
|
| 602 |
<context name="nl.binOpOrEnd" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop!error"> |
| 603 |
<IncludeRules context="wsOrComment" /> |
| 604 |
<LineContinue context="#stay" /> |
| 605 |
<DetectChar char=")" lookAhead="true" context="#pop" /> |
| 606 |
<Detect2Chars char="&" char1="&" attribute="Expression Operator" context="#pop!nl.expr" /> |
| 607 |
<Detect2Chars char="|" char1="|" attribute="Expression Operator" context="#pop!nl.expr" /> |
| 608 |
<Detect2Chars char="!" char1="=" attribute="Expression Operator" context="#pop!nl.expr" /> |
| 609 |
<Detect2Chars char="<" char1="=" attribute="Expression Operator" context="#pop!nl.expr" /> |
| 610 |
<Detect2Chars char=">" char1="=" attribute="Expression Operator" context="#pop!nl.expr" /> |
| 611 |
<AnyChar String="=<>" attribute="Expression Operator" context="#pop!nl.expr" /> |
| 612 |
<IncludeRules context="ignoreBadParamChars" /> |
| 613 |
</context> |
| 614 |
|
| 615 |
<context name="nl.binOpOrEnd.SQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 616 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!nl.binOpOrEnd" /> |
| 617 |
<IncludeRules context="expansionAndEscape" /> |
| 618 |
</context> |
| 619 |
|
| 620 |
<context name="nl.binOpOrEnd.DQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 621 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!nl.binOpOrEnd" /> |
| 622 |
<IncludeRules context="expansionAndEscape" /> |
| 623 |
</context> |
| 624 |
|
| 625 |
<context name="ifOpt.expr" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 626 |
<IncludeRules context="wsOrComment" /> |
| 627 |
<LineContinue context="#stay" /> |
| 628 |
<Detect2Chars char="(" char1=")" lookAhead="true" context="#pop!nl.emptyParenthesesInstance" /> |
| 629 |
<DetectChar char="(" attribute="Expression Operator" beginRegion="parentheses" context="#pop!ifOpt.parenthesesInstance" /> |
| 630 |
<DetectChar char="!" context="#stay" /> |
| 631 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!ifOpt.binOpOrEnd.SQSymbolConst" /> |
| 632 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!ifOpt.binOpOrEnd.DQSymbolConst" /> |
| 633 |
<keyword String="keyword" attribute="Error" context="#pop!error" /> |
| 634 |
<RegExpr String="&tristateConst;" attribute="Tristate Constant" context="#pop!ifOpt.binOpOrEnd" /> |
| 635 |
<RegExpr String="(&n;|\$)" lookAhead="true" context="#pop!ifOpt.binOpOrEnd.expandableIdentifier" /> |
| 636 |
</context> |
| 637 |
|
| 638 |
<context name="ifOpt.binOpOrEnd.expandableIdentifier" attribute="Variable Symbol" lineEndContext="#pop" fallthroughContext="#pop!ifOpt.binOpOrEnd"> |
| 639 |
<IncludeRules context="expandableIdentifier" /> |
| 640 |
</context> |
| 641 |
|
| 642 |
<context name="ifOpt.binOpOrEnd" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop!ifOpt"> |
| 643 |
<IncludeRules context="wsOrComment" /> |
| 644 |
<LineContinue context="#stay" /> |
| 645 |
<DetectChar char=")" lookAhead="true" context="#pop" /> |
| 646 |
<Detect2Chars char="&" char1="&" attribute="Expression Operator" context="#pop!ifOpt.expr" /> |
| 647 |
<Detect2Chars char="|" char1="|" attribute="Expression Operator" context="#pop!ifOpt.expr" /> |
| 648 |
<Detect2Chars char="!" char1="=" attribute="Expression Operator" context="#pop!ifOpt.expr" /> |
| 649 |
<Detect2Chars char="<" char1="=" attribute="Expression Operator" context="#pop!ifOpt.expr" /> |
| 650 |
<Detect2Chars char=">" char1="=" attribute="Expression Operator" context="#pop!ifOpt.expr" /> |
| 651 |
<AnyChar String="=<>" attribute="Expression Operator" context="#pop!ifOpt.expr" /> |
| 652 |
<IncludeRules context="ignoreBadParamChars" /> |
| 653 |
</context> |
| 654 |
|
| 655 |
<context name="ifOpt.binOpOrEnd.SQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 656 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!ifOpt.binOpOrEnd" /> |
| 657 |
<IncludeRules context="expansionAndEscape" /> |
| 658 |
</context> |
| 659 |
|
| 660 |
<context name="ifOpt.binOpOrEnd.DQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 661 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!ifOpt.binOpOrEnd" /> |
| 662 |
<IncludeRules context="expansionAndEscape" /> |
| 663 |
</context> |
| 664 |
|
| 665 |
<context name="if_stmt.nl.expr" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 666 |
<IncludeRules context="wsOrComment" /> |
| 667 |
<LineContinue context="#stay" /> |
| 668 |
<Detect2Chars char="(" char1=")" lookAhead="true" context="#pop!nl.emptyParenthesesInstance" /> |
| 669 |
<DetectChar char="(" attribute="Expression Operator" beginRegion="parentheses" context="#pop!if_stmt.nl.parenthesesInstance" /> |
| 670 |
<DetectChar char="!" context="#stay" /> |
| 671 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!if_stmt.nl.binOpOrEnd.SQSymbolConst" /> |
| 672 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!if_stmt.nl.binOpOrEnd.DQSymbolConst" /> |
| 673 |
<keyword String="keyword" context="#pop!error" /> |
| 674 |
<RegExpr String="&tristateConst;" attribute="Tristate Constant" context="#pop!if_stmt.nl.binOpOrEnd" /> |
| 675 |
<RegExpr String="(&n;|\$)" lookAhead="true" context="#pop!if_stmt.nl.binOpOrEnd.expandableIdentifier" /> |
| 676 |
</context> |
| 677 |
|
| 678 |
<context name="if_stmt.nl.binOpOrEnd.expandableIdentifier" attribute="Variable Symbol" lineEndContext="#pop!if_stmt" fallthroughContext="#pop!if_stmt.nl.binOpOrEnd"> |
| 679 |
<IncludeRules context="expandableIdentifier" /> |
| 680 |
</context> |
| 681 |
|
| 682 |
<context name="if_stmt.nl.binOpOrEnd" attribute="Plain" lineEndContext="#pop!if_stmt" fallthroughContext="#pop!nl"> |
| 683 |
<IncludeRules context="wsOrComment" /> |
| 684 |
<LineContinue context="#stay" /> |
| 685 |
<DetectChar char=")" lookAhead="true" context="#pop" /> |
| 686 |
<Detect2Chars char="&" char1="&" attribute="Expression Operator" context="#pop!if_stmt.nl.expr" /> |
| 687 |
<Detect2Chars char="|" char1="|" attribute="Expression Operator" context="#pop!if_stmt.nl.expr" /> |
| 688 |
<DetectChar char="=" attribute="Expression Operator" context="#pop!if_stmt.nl.expr" /> |
| 689 |
<Detect2Chars char="!" char1="=" attribute="Expression Operator" context="#pop!if_stmt.nl.expr" /> |
| 690 |
<IncludeRules context="ignoreBadParamChars" /> |
| 691 |
</context> |
| 692 |
|
| 693 |
<context name="escapeInDeprecatedString" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop"> |
| 694 |
<RegExpr String="\\." attribute="Deprecated Escaped Character" context="#pop" /> |
| 695 |
</context> |
| 696 |
|
| 697 |
<context name="escape" attribute="Plain" lineEndContext="#pop" fallthroughContext="#pop"> |
| 698 |
<RegExpr String="\\." attribute="Escaped Character" context="#pop" /> |
| 699 |
</context> |
| 700 |
|
| 701 |
<context name="if_stmt.nl.binOpOrEnd.SQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 702 |
<DetectChar char="'" attribute="Constant Symbol" context="#pop!if_stmt.nl.binOpOrEnd" /> |
| 703 |
<IncludeRules context="expansionAndEscape" /> |
| 704 |
</context> |
| 705 |
|
| 706 |
<context name="if_stmt.nl.binOpOrEnd.DQSymbolConst" attribute="Constant Symbol" lineEndContext="#pop!error"> |
| 707 |
<DetectChar char=""" attribute="Constant Symbol" context="#pop!if_stmt.nl.binOpOrEnd" /> |
| 708 |
<IncludeRules context="expansionAndEscape" /> |
| 709 |
</context> |
| 710 |
|
| 711 |
<context name="nl.parenthesesInstance" attribute="Plain" lineEndContext="#stay" fallthroughContext="nl.expr"> |
| 712 |
<DetectChar char=")" attribute="Expression Operator" endRegion="parentheses" context="#pop!nl.binOpOrEnd" /> |
| 713 |
</context> |
| 714 |
|
| 715 |
<context name="ifOpt.parenthesesInstance" attribute="Plain" lineEndContext="#stay" fallthroughContext="ifOpt.expr"> |
| 716 |
<DetectChar char=")" attribute="Expression Operator" endRegion="parentheses" context="#pop!ifOpt.binOpOrEnd" /> |
| 717 |
</context> |
| 718 |
|
| 719 |
<context name="if_stmt.nl.parenthesesInstance" attribute="Plain" lineEndContext="#stay" fallthroughContext="nl.expr"> |
| 720 |
<DetectChar char=")" attribute="Expression Operator" endRegion="parentheses" context="#pop!if_stmt.nl.binOpOrEnd" /> |
| 721 |
</context> |
| 722 |
|
| 723 |
<context name="parenthesesInExpansion" attribute="Expansion" lineEndContext="#pop"> |
| 724 |
<IncludeRules context="expansion" /> |
| 725 |
<DetectChar char="(" attribute="Expansion" context="parenthesesInExpansion" /> |
| 726 |
<DetectChar char=")" attribute="Expansion" context="#pop" /> |
| 727 |
</context> |
| 728 |
|
| 729 |
<context name="expansionArgumentsAndEnd" attribute="Expansion" lineEndContext="#pop!error"> |
| 730 |
<IncludeRules context="expansion" /> |
| 731 |
<DetectChar char="(" attribute="Expansion" context="parenthesesInExpansion" /> |
| 732 |
<DetectChar char="," attribute="Argument Separator" context="#stay" /> |
| 733 |
<DetectChar char=")" attribute="Expansion Delimiter" context="#pop" /> |
| 734 |
</context> |
| 735 |
|
| 736 |
<context name="expansionArgumentsAndEnd.functionOrVariableName" attribute="Expansion" lineEndContext="#pop!error" fallthroughContext="#pop!expansionArgumentsAndEnd"> |
| 737 |
<keyword String="builtin_function" attribute="Builtin Function" context="#pop!expansionArgumentsAndEnd" /> |
| 738 |
<IncludeRules context="expansion" /> |
| 739 |
<RegExpr String="(&n;|(\$(?!\()))+" context="#pop!expansionArgumentsAndEnd" /> |
| 740 |
</context> |
| 741 |
|
| 742 |
<!-- help texts |
| 743 |
This is ugly: indentation may be a mixture of |
| 744 |
tabs and spaces. There is a minimum indentation |
| 745 |
for the non-blank lines (i.e. lines that do not |
| 746 |
contain only tabs and spaces) of a help text. If |
| 747 |
a non-blank line falls below that minimum, that |
| 748 |
line does not belong to the help text and the |
| 749 |
help text ends. |
| 750 |
This minimum is set by the first non-blank line |
| 751 |
after "help". If the first line immediately |
| 752 |
after the "help" line is non-blank, but not |
| 753 |
indented, then the second non-blank line is |
| 754 |
considered to determine indentation. If that |
| 755 |
line also has no indentation, the help text |
| 756 |
ends on that second line. |
| 757 |
|
| 758 |
One tab corresponds to eight spaces. |
| 759 |
|
| 760 |
As indentation may arbitrarily switch between |
| 761 |
tabs and spaces it is perfectly OK to have e.g. |
| 762 |
- first line: 8 spaces |
| 763 |
- second line: 1 tab |
| 764 |
- third line: 4 spaces, 1 tab |
| 765 |
|
| 766 |
Tabs are aligned, so this is valid, too: |
| 767 |
- first line: 6 spaces, 1 tab |
| 768 |
- second line: 1 tab |
| 769 |
|
| 770 |
Storing the reference indentation length is |
| 771 |
hardly possible. The "dynamic" attribute does |
| 772 |
not fit here, because each line may have a |
| 773 |
different combination of tabs and spaces. |
| 774 |
Instead just be pragmatic and add contexts for |
| 775 |
any indentation length from 1 to 80. |
| 776 |
|
| 777 |
80 should cover even any exotic useful case: |
| 778 |
In the field, we hardly encounter more initial |
| 779 |
indentation than 2 tabs (i.e. 16 spaces). |
| 780 |
The Linux kernel has a line length policy that |
| 781 |
can be summarized as |
| 782 |
"do not exceed 80 chars without a good reason" |
| 783 |
--> |
| 784 |
<context name="helpEntry" attribute="Help Text" lineEndContext="#pop!helpTextFirstLine" fallthroughContext="#pop!error"> |
| 785 |
<IncludeRules context="wsOrComment" /> |
| 786 |
<IncludeRules context="ignoreBadParamChars" /> |
| 787 |
</context> |
| 788 |
|
| 789 |
<context name="helpTextFirstLine" attribute="Help Text" lineEmptyContext="#pop!helpDetectIndentation" lineEndContext="#stay" fallthroughContext="#pop!error"> |
| 790 |
<RegExpr String="^([^ \t].*|[ \t]*)$" column="0" attribute="Help Text" context="#pop!helpDetectIndentation" /> |
| 791 |
<IncludeRules context="helpDetectIndentation" /> |
| 792 |
</context> |
| 793 |
|
| 794 |
<context name="helpDetectIndentation" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 795 |
<RegExpr String="^[ \t]*$" column="0" context="#stay" /> |
| 796 |
<RegExpr String="^(&tab;){10}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent80" /> |
| 797 |
<RegExpr String="^(&tab;){9} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent79" /> |
| 798 |
<RegExpr String="^(&tab;){9} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent78" /> |
| 799 |
<RegExpr String="^(&tab;){9} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent77" /> |
| 800 |
<RegExpr String="^(&tab;){9} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent76" /> |
| 801 |
<RegExpr String="^(&tab;){9} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent75" /> |
| 802 |
<RegExpr String="^(&tab;){9} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent74" /> |
| 803 |
<RegExpr String="^(&tab;){9} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent73" /> |
| 804 |
<RegExpr String="^(&tab;){9}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent72" /> |
| 805 |
<RegExpr String="^(&tab;){8} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent71" /> |
| 806 |
<RegExpr String="^(&tab;){8} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent70" /> |
| 807 |
<RegExpr String="^(&tab;){8} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent69" /> |
| 808 |
<RegExpr String="^(&tab;){8} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent68" /> |
| 809 |
<RegExpr String="^(&tab;){8} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent67" /> |
| 810 |
<RegExpr String="^(&tab;){8} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent66" /> |
| 811 |
<RegExpr String="^(&tab;){8} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent65" /> |
| 812 |
<RegExpr String="^(&tab;){8}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent64" /> |
| 813 |
<RegExpr String="^(&tab;){7} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent63" /> |
| 814 |
<RegExpr String="^(&tab;){7} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent62" /> |
| 815 |
<RegExpr String="^(&tab;){7} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent61" /> |
| 816 |
<RegExpr String="^(&tab;){7} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent60" /> |
| 817 |
<RegExpr String="^(&tab;){7} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent59" /> |
| 818 |
<RegExpr String="^(&tab;){7} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent58" /> |
| 819 |
<RegExpr String="^(&tab;){7} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent57" /> |
| 820 |
<RegExpr String="^(&tab;){7}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent56" /> |
| 821 |
<RegExpr String="^(&tab;){6} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent55" /> |
| 822 |
<RegExpr String="^(&tab;){6} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent54" /> |
| 823 |
<RegExpr String="^(&tab;){6} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent53" /> |
| 824 |
<RegExpr String="^(&tab;){6} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent52" /> |
| 825 |
<RegExpr String="^(&tab;){6} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent51" /> |
| 826 |
<RegExpr String="^(&tab;){6} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent50" /> |
| 827 |
<RegExpr String="^(&tab;){6} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent49" /> |
| 828 |
<RegExpr String="^(&tab;){6}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent48" /> |
| 829 |
<RegExpr String="^(&tab;){5} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent47" /> |
| 830 |
<RegExpr String="^(&tab;){5} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent46" /> |
| 831 |
<RegExpr String="^(&tab;){5} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent45" /> |
| 832 |
<RegExpr String="^(&tab;){5} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent44" /> |
| 833 |
<RegExpr String="^(&tab;){5} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent43" /> |
| 834 |
<RegExpr String="^(&tab;){5} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent42" /> |
| 835 |
<RegExpr String="^(&tab;){5} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent41" /> |
| 836 |
<RegExpr String="^(&tab;){5}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent40" /> |
| 837 |
<RegExpr String="^(&tab;){4} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent39" /> |
| 838 |
<RegExpr String="^(&tab;){4} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent38" /> |
| 839 |
<RegExpr String="^(&tab;){4} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent37" /> |
| 840 |
<RegExpr String="^(&tab;){4} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent36" /> |
| 841 |
<RegExpr String="^(&tab;){4} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent35" /> |
| 842 |
<RegExpr String="^(&tab;){4} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent34" /> |
| 843 |
<RegExpr String="^(&tab;){4} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent33" /> |
| 844 |
<RegExpr String="^(&tab;){4}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent32" /> |
| 845 |
<RegExpr String="^(&tab;){3} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent31" /> |
| 846 |
<RegExpr String="^(&tab;){3} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent30" /> |
| 847 |
<RegExpr String="^(&tab;){3} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent29" /> |
| 848 |
<RegExpr String="^(&tab;){3} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent28" /> |
| 849 |
<RegExpr String="^(&tab;){3} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent27" /> |
| 850 |
<RegExpr String="^(&tab;){3} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent26" /> |
| 851 |
<RegExpr String="^(&tab;){3} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent25" /> |
| 852 |
<RegExpr String="^(&tab;){3}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent24" /> |
| 853 |
<RegExpr String="^(&tab;){2} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent23" /> |
| 854 |
<RegExpr String="^(&tab;){2} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent22" /> |
| 855 |
<RegExpr String="^(&tab;){2} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent21" /> |
| 856 |
<RegExpr String="^(&tab;){2} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent20" /> |
| 857 |
<RegExpr String="^(&tab;){2} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent19" /> |
| 858 |
<RegExpr String="^(&tab;){2} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent18" /> |
| 859 |
<RegExpr String="^(&tab;){2} (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent17" /> |
| 860 |
<RegExpr String="^(&tab;){2}(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent16" /> |
| 861 |
<RegExpr String="^&tab; (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent15" /> |
| 862 |
<RegExpr String="^&tab; (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent14" /> |
| 863 |
<RegExpr String="^&tab; (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent13" /> |
| 864 |
<RegExpr String="^&tab; (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent12" /> |
| 865 |
<RegExpr String="^&tab; (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent11" /> |
| 866 |
<RegExpr String="^&tab; (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent10" /> |
| 867 |
<RegExpr String="^&tab; (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent9" /> |
| 868 |
<RegExpr String="^&tab;(?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent8" /> |
| 869 |
<RegExpr String="^ (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent7" /> |
| 870 |
<RegExpr String="^ (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent6" /> |
| 871 |
<RegExpr String="^ (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent5" /> |
| 872 |
<RegExpr String="^ (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent4" /> |
| 873 |
<RegExpr String="^ (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent3" /> |
| 874 |
<RegExpr String="^ (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent2" /> |
| 875 |
<RegExpr String="^ (?![ \t])" column="0" lookAhead="true" context="#pop!helpIndent1" /> |
| 876 |
</context> |
| 877 |
|
| 878 |
<context name="endHelp" attribute="Help Text" lineEndContext="#stay"> |
| 879 |
<DetectSpaces attribute="Help Text" context="#stay" /> |
| 880 |
<DetectChar char="#" lookAhead="true" endRegion="help" context="#pop!lineComment" /> |
| 881 |
<keyword String="keyword" lookAhead="true" endRegion="help" context="#pop" /> |
| 882 |
<RegExpr String="." lookAhead="true" endRegion="help" context="#pop!error" /> |
| 883 |
</context> |
| 884 |
|
| 885 |
<context name="helpText" attribute="Help Text" lineEndContext="#pop"> |
| 886 |
<DetectChar char="<" attribute="Help Text" context="maybeLink" /> |
| 887 |
</context> |
| 888 |
|
| 889 |
<context name="maybeLink" attribute="Link" lineEndContext="#pop" fallthroughContext="#pop"> |
| 890 |
<RegExpr String="[^>]+:[^>]+(?>)" attribute="Link" context="#pop" /> |
| 891 |
</context> |
| 892 |
|
| 893 |
<context name="helpEatWsLine" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop"> |
| 894 |
<RegExpr String="^( |\t)*$" column="0" attribute="Help Text" context="#stay" /> |
| 895 |
</context> |
| 896 |
|
| 897 |
<context name="helpIndent1" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 898 |
<IncludeRules context="helpEatWsLine" /> |
| 899 |
<RegExpr String="^( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 900 |
</context> |
| 901 |
|
| 902 |
<context name="helpIndent2" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 903 |
<IncludeRules context="helpEatWsLine" /> |
| 904 |
<RegExpr String="^( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 905 |
</context> |
| 906 |
|
| 907 |
<context name="helpIndent3" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 908 |
<IncludeRules context="helpEatWsLine" /> |
| 909 |
<RegExpr String="^( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 910 |
</context> |
| 911 |
|
| 912 |
<context name="helpIndent4" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 913 |
<IncludeRules context="helpEatWsLine" /> |
| 914 |
<RegExpr String="^( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 915 |
</context> |
| 916 |
|
| 917 |
<context name="helpIndent5" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 918 |
<IncludeRules context="helpEatWsLine" /> |
| 919 |
<RegExpr String="^( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 920 |
</context> |
| 921 |
|
| 922 |
<context name="helpIndent6" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 923 |
<IncludeRules context="helpEatWsLine" /> |
| 924 |
<RegExpr String="^( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 925 |
</context> |
| 926 |
|
| 927 |
<context name="helpIndent7" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 928 |
<IncludeRules context="helpEatWsLine" /> |
| 929 |
<RegExpr String="^( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 930 |
</context> |
| 931 |
|
| 932 |
<context name="helpIndent8" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 933 |
<IncludeRules context="helpEatWsLine" /> |
| 934 |
<RegExpr String="^&tab;" column="0" attribute="Help Text" context="helpText" /> |
| 935 |
</context> |
| 936 |
|
| 937 |
<context name="helpIndent9" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 938 |
<IncludeRules context="helpEatWsLine" /> |
| 939 |
<RegExpr String="^&tab;( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 940 |
</context> |
| 941 |
|
| 942 |
<context name="helpIndent10" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 943 |
<IncludeRules context="helpEatWsLine" /> |
| 944 |
<RegExpr String="^&tab;( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 945 |
</context> |
| 946 |
|
| 947 |
<context name="helpIndent11" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 948 |
<IncludeRules context="helpEatWsLine" /> |
| 949 |
<RegExpr String="^&tab;( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 950 |
</context> |
| 951 |
|
| 952 |
<context name="helpIndent12" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 953 |
<IncludeRules context="helpEatWsLine" /> |
| 954 |
<RegExpr String="^&tab;( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 955 |
</context> |
| 956 |
|
| 957 |
<context name="helpIndent13" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 958 |
<IncludeRules context="helpEatWsLine" /> |
| 959 |
<RegExpr String="^&tab;( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 960 |
</context> |
| 961 |
|
| 962 |
<context name="helpIndent14" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 963 |
<IncludeRules context="helpEatWsLine" /> |
| 964 |
<RegExpr String="^&tab;( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 965 |
</context> |
| 966 |
|
| 967 |
<context name="helpIndent15" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 968 |
<IncludeRules context="helpEatWsLine" /> |
| 969 |
<RegExpr String="^&tab;( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 970 |
</context> |
| 971 |
|
| 972 |
<context name="helpIndent16" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 973 |
<IncludeRules context="helpEatWsLine" /> |
| 974 |
<RegExpr String="^(&tab;){2}" column="0" attribute="Help Text" context="helpText" /> |
| 975 |
</context> |
| 976 |
|
| 977 |
<context name="helpIndent17" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 978 |
<IncludeRules context="helpEatWsLine" /> |
| 979 |
<RegExpr String="^(&tab;){2}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 980 |
</context> |
| 981 |
|
| 982 |
<context name="helpIndent18" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 983 |
<IncludeRules context="helpEatWsLine" /> |
| 984 |
<RegExpr String="^(&tab;){2}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 985 |
</context> |
| 986 |
|
| 987 |
<context name="helpIndent19" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 988 |
<IncludeRules context="helpEatWsLine" /> |
| 989 |
<RegExpr String="^(&tab;){2}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 990 |
</context> |
| 991 |
|
| 992 |
<context name="helpIndent20" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 993 |
<IncludeRules context="helpEatWsLine" /> |
| 994 |
<RegExpr String="^(&tab;){2}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 995 |
</context> |
| 996 |
|
| 997 |
<context name="helpIndent21" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 998 |
<IncludeRules context="helpEatWsLine" /> |
| 999 |
<RegExpr String="^(&tab;){2}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1000 |
</context> |
| 1001 |
|
| 1002 |
<context name="helpIndent22" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1003 |
<IncludeRules context="helpEatWsLine" /> |
| 1004 |
<RegExpr String="^(&tab;){2}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1005 |
</context> |
| 1006 |
|
| 1007 |
<context name="helpIndent23" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1008 |
<IncludeRules context="helpEatWsLine" /> |
| 1009 |
<RegExpr String="^(&tab;){2}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1010 |
</context> |
| 1011 |
|
| 1012 |
<context name="helpIndent24" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1013 |
<IncludeRules context="helpEatWsLine" /> |
| 1014 |
<RegExpr String="^(&tab;){3}" column="0" attribute="Help Text" context="helpText" /> |
| 1015 |
</context> |
| 1016 |
|
| 1017 |
<context name="helpIndent25" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1018 |
<IncludeRules context="helpEatWsLine" /> |
| 1019 |
<RegExpr String="^(&tab;){3}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1020 |
</context> |
| 1021 |
|
| 1022 |
<context name="helpIndent26" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1023 |
<IncludeRules context="helpEatWsLine" /> |
| 1024 |
<RegExpr String="^(&tab;){3}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1025 |
</context> |
| 1026 |
|
| 1027 |
<context name="helpIndent27" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1028 |
<IncludeRules context="helpEatWsLine" /> |
| 1029 |
<RegExpr String="^(&tab;){3}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1030 |
</context> |
| 1031 |
|
| 1032 |
<context name="helpIndent28" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1033 |
<IncludeRules context="helpEatWsLine" /> |
| 1034 |
<RegExpr String="^(&tab;){3}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1035 |
</context> |
| 1036 |
|
| 1037 |
<context name="helpIndent29" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1038 |
<IncludeRules context="helpEatWsLine" /> |
| 1039 |
<RegExpr String="^(&tab;){3}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1040 |
</context> |
| 1041 |
|
| 1042 |
<context name="helpIndent30" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1043 |
<IncludeRules context="helpEatWsLine" /> |
| 1044 |
<RegExpr String="^(&tab;){3}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1045 |
</context> |
| 1046 |
|
| 1047 |
<context name="helpIndent31" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1048 |
<IncludeRules context="helpEatWsLine" /> |
| 1049 |
<RegExpr String="^(&tab;){3}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1050 |
</context> |
| 1051 |
|
| 1052 |
<context name="helpIndent32" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1053 |
<IncludeRules context="helpEatWsLine" /> |
| 1054 |
<RegExpr String="^(&tab;){4}" column="0" attribute="Help Text" context="helpText" /> |
| 1055 |
</context> |
| 1056 |
|
| 1057 |
<context name="helpIndent33" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1058 |
<IncludeRules context="helpEatWsLine" /> |
| 1059 |
<RegExpr String="^(&tab;){4}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1060 |
</context> |
| 1061 |
|
| 1062 |
<context name="helpIndent34" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1063 |
<IncludeRules context="helpEatWsLine" /> |
| 1064 |
<RegExpr String="^(&tab;){4}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1065 |
</context> |
| 1066 |
|
| 1067 |
<context name="helpIndent35" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1068 |
<IncludeRules context="helpEatWsLine" /> |
| 1069 |
<RegExpr String="^(&tab;){4}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1070 |
</context> |
| 1071 |
|
| 1072 |
<context name="helpIndent36" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1073 |
<IncludeRules context="helpEatWsLine" /> |
| 1074 |
<RegExpr String="^(&tab;){4}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1075 |
</context> |
| 1076 |
|
| 1077 |
<context name="helpIndent37" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1078 |
<IncludeRules context="helpEatWsLine" /> |
| 1079 |
<RegExpr String="^(&tab;){4}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1080 |
</context> |
| 1081 |
|
| 1082 |
<context name="helpIndent38" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1083 |
<IncludeRules context="helpEatWsLine" /> |
| 1084 |
<RegExpr String="^(&tab;){4}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1085 |
</context> |
| 1086 |
|
| 1087 |
<context name="helpIndent39" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1088 |
<IncludeRules context="helpEatWsLine" /> |
| 1089 |
<RegExpr String="^(&tab;){4}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1090 |
</context> |
| 1091 |
|
| 1092 |
<context name="helpIndent40" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1093 |
<IncludeRules context="helpEatWsLine" /> |
| 1094 |
<RegExpr String="^(&tab;){5}" column="0" attribute="Help Text" context="helpText" /> |
| 1095 |
</context> |
| 1096 |
|
| 1097 |
<context name="helpIndent41" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1098 |
<IncludeRules context="helpEatWsLine" /> |
| 1099 |
<RegExpr String="^(&tab;){5}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1100 |
</context> |
| 1101 |
|
| 1102 |
<context name="helpIndent42" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1103 |
<IncludeRules context="helpEatWsLine" /> |
| 1104 |
<RegExpr String="^(&tab;){5}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1105 |
</context> |
| 1106 |
|
| 1107 |
<context name="helpIndent43" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1108 |
<IncludeRules context="helpEatWsLine" /> |
| 1109 |
<RegExpr String="^(&tab;){5}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1110 |
</context> |
| 1111 |
|
| 1112 |
<context name="helpIndent44" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1113 |
<IncludeRules context="helpEatWsLine" /> |
| 1114 |
<RegExpr String="^(&tab;){5}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1115 |
</context> |
| 1116 |
|
| 1117 |
<context name="helpIndent45" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1118 |
<IncludeRules context="helpEatWsLine" /> |
| 1119 |
<RegExpr String="^(&tab;){5}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1120 |
</context> |
| 1121 |
|
| 1122 |
<context name="helpIndent46" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1123 |
<IncludeRules context="helpEatWsLine" /> |
| 1124 |
<RegExpr String="^(&tab;){5}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1125 |
</context> |
| 1126 |
|
| 1127 |
<context name="helpIndent47" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1128 |
<IncludeRules context="helpEatWsLine" /> |
| 1129 |
<RegExpr String="^(&tab;){5}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1130 |
</context> |
| 1131 |
|
| 1132 |
<context name="helpIndent48" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1133 |
<IncludeRules context="helpEatWsLine" /> |
| 1134 |
<RegExpr String="^(&tab;){6}" column="0" attribute="Help Text" context="helpText" /> |
| 1135 |
</context> |
| 1136 |
|
| 1137 |
<context name="helpIndent49" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1138 |
<IncludeRules context="helpEatWsLine" /> |
| 1139 |
<RegExpr String="^(&tab;){6}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1140 |
</context> |
| 1141 |
|
| 1142 |
<context name="helpIndent50" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1143 |
<IncludeRules context="helpEatWsLine" /> |
| 1144 |
<RegExpr String="^(&tab;){6}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1145 |
</context> |
| 1146 |
|
| 1147 |
<context name="helpIndent51" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1148 |
<IncludeRules context="helpEatWsLine" /> |
| 1149 |
<RegExpr String="^(&tab;){6}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1150 |
</context> |
| 1151 |
|
| 1152 |
<context name="helpIndent52" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1153 |
<IncludeRules context="helpEatWsLine" /> |
| 1154 |
<RegExpr String="^(&tab;){6}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1155 |
</context> |
| 1156 |
|
| 1157 |
<context name="helpIndent53" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1158 |
<IncludeRules context="helpEatWsLine" /> |
| 1159 |
<RegExpr String="^(&tab;){6}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1160 |
</context> |
| 1161 |
|
| 1162 |
<context name="helpIndent54" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1163 |
<IncludeRules context="helpEatWsLine" /> |
| 1164 |
<RegExpr String="^(&tab;){6}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1165 |
</context> |
| 1166 |
|
| 1167 |
<context name="helpIndent55" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1168 |
<IncludeRules context="helpEatWsLine" /> |
| 1169 |
<RegExpr String="^(&tab;){6}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1170 |
</context> |
| 1171 |
|
| 1172 |
<context name="helpIndent56" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1173 |
<IncludeRules context="helpEatWsLine" /> |
| 1174 |
<RegExpr String="^(&tab;){7}" column="0" attribute="Help Text" context="helpText" /> |
| 1175 |
</context> |
| 1176 |
|
| 1177 |
<context name="helpIndent57" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1178 |
<IncludeRules context="helpEatWsLine" /> |
| 1179 |
<RegExpr String="^(&tab;){7}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1180 |
</context> |
| 1181 |
|
| 1182 |
<context name="helpIndent58" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1183 |
<IncludeRules context="helpEatWsLine" /> |
| 1184 |
<RegExpr String="^(&tab;){7}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1185 |
</context> |
| 1186 |
|
| 1187 |
<context name="helpIndent59" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1188 |
<IncludeRules context="helpEatWsLine" /> |
| 1189 |
<RegExpr String="^(&tab;){7}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1190 |
</context> |
| 1191 |
|
| 1192 |
<context name="helpIndent60" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1193 |
<IncludeRules context="helpEatWsLine" /> |
| 1194 |
<RegExpr String="^(&tab;){7}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1195 |
</context> |
| 1196 |
|
| 1197 |
<context name="helpIndent61" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1198 |
<IncludeRules context="helpEatWsLine" /> |
| 1199 |
<RegExpr String="^(&tab;){7}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1200 |
</context> |
| 1201 |
|
| 1202 |
<context name="helpIndent62" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1203 |
<IncludeRules context="helpEatWsLine" /> |
| 1204 |
<RegExpr String="^(&tab;){7}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1205 |
</context> |
| 1206 |
|
| 1207 |
<context name="helpIndent63" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1208 |
<IncludeRules context="helpEatWsLine" /> |
| 1209 |
<RegExpr String="^(&tab;){7}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1210 |
</context> |
| 1211 |
|
| 1212 |
<context name="helpIndent64" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1213 |
<IncludeRules context="helpEatWsLine" /> |
| 1214 |
<RegExpr String="^(&tab;){8}" column="0" attribute="Help Text" context="helpText" /> |
| 1215 |
</context> |
| 1216 |
|
| 1217 |
<context name="helpIndent65" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1218 |
<IncludeRules context="helpEatWsLine" /> |
| 1219 |
<RegExpr String="^(&tab;){8}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1220 |
</context> |
| 1221 |
|
| 1222 |
<context name="helpIndent66" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1223 |
<IncludeRules context="helpEatWsLine" /> |
| 1224 |
<RegExpr String="^(&tab;){8}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1225 |
</context> |
| 1226 |
|
| 1227 |
<context name="helpIndent67" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1228 |
<IncludeRules context="helpEatWsLine" /> |
| 1229 |
<RegExpr String="^(&tab;){8}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1230 |
</context> |
| 1231 |
|
| 1232 |
<context name="helpIndent68" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1233 |
<IncludeRules context="helpEatWsLine" /> |
| 1234 |
<RegExpr String="^(&tab;){8}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1235 |
</context> |
| 1236 |
|
| 1237 |
<context name="helpIndent69" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1238 |
<IncludeRules context="helpEatWsLine" /> |
| 1239 |
<RegExpr String="^(&tab;){8}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1240 |
</context> |
| 1241 |
|
| 1242 |
<context name="helpIndent70" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1243 |
<IncludeRules context="helpEatWsLine" /> |
| 1244 |
<RegExpr String="^(&tab;){8}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1245 |
</context> |
| 1246 |
|
| 1247 |
<context name="helpIndent71" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1248 |
<IncludeRules context="helpEatWsLine" /> |
| 1249 |
<RegExpr String="^(&tab;){8}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1250 |
</context> |
| 1251 |
|
| 1252 |
<context name="helpIndent72" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1253 |
<IncludeRules context="helpEatWsLine" /> |
| 1254 |
<RegExpr String="^(&tab;){9}" column="0" attribute="Help Text" context="helpText" /> |
| 1255 |
</context> |
| 1256 |
|
| 1257 |
<context name="helpIndent73" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1258 |
<IncludeRules context="helpEatWsLine" /> |
| 1259 |
<RegExpr String="^(&tab;){9}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1260 |
</context> |
| 1261 |
|
| 1262 |
<context name="helpIndent74" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1263 |
<IncludeRules context="helpEatWsLine" /> |
| 1264 |
<RegExpr String="^(&tab;){9}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1265 |
</context> |
| 1266 |
|
| 1267 |
<context name="helpIndent75" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1268 |
<IncludeRules context="helpEatWsLine" /> |
| 1269 |
<RegExpr String="^(&tab;){9}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1270 |
</context> |
| 1271 |
|
| 1272 |
<context name="helpIndent76" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1273 |
<IncludeRules context="helpEatWsLine" /> |
| 1274 |
<RegExpr String="^(&tab;){9}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1275 |
</context> |
| 1276 |
|
| 1277 |
<context name="helpIndent77" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1278 |
<IncludeRules context="helpEatWsLine" /> |
| 1279 |
<RegExpr String="^(&tab;){9}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1280 |
</context> |
| 1281 |
|
| 1282 |
<context name="helpIndent78" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1283 |
<IncludeRules context="helpEatWsLine" /> |
| 1284 |
<RegExpr String="^(&tab;){9}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1285 |
</context> |
| 1286 |
|
| 1287 |
<context name="helpIndent79" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1288 |
<IncludeRules context="helpEatWsLine" /> |
| 1289 |
<RegExpr String="^(&tab;){9}( |\t)" column="0" attribute="Help Text" context="helpText" /> |
| 1290 |
</context> |
| 1291 |
|
| 1292 |
<context name="helpIndent80" attribute="Help Text" lineEndContext="#stay" fallthroughContext="#pop!endHelp"> |
| 1293 |
<IncludeRules context="helpEatWsLine" /> |
| 1294 |
<RegExpr String="^(&tab;){10}" column="0" attribute="Help Text" context="helpText" /> |
| 1295 |
</context> |
| 1296 |
|
| 1297 |
<!-- only as included rules --> |
| 1298 |
<context name="common_stmt" attribute="Plain" lineEndContext="#pop!error" fallthroughContext="#pop"> |
| 1299 |
<IncludeRules context="wsOrComment" /> |
| 1300 |
<WordDetect String="if" attribute="Keyword" beginRegion="if_stmt" context="if_stmt.nl.expr" /> |
| 1301 |
<WordDetect String="comment" attribute="Keyword" beginRegion="comment_stmt" context="comment_stmt.nl.prompt" /> |
| 1302 |
<keyword String="config" attribute="Keyword" beginRegion="config_stmt" context="config_entry_start" /> |
| 1303 |
<WordDetect String="source" attribute="Source" context="source_stmt" /> |
| 1304 |
</context> |
| 1305 |
|
| 1306 |
<context name="expandableIdentifier" attribute="Variable Symbol" lineEndContext="#pop" fallthroughContext="#pop"> |
| 1307 |
<IncludeRules context="expansion" /> |
| 1308 |
<RegExpr String="(&n;|(\$(?!\()))+" context="#stay" /> |
| 1309 |
</context> |
| 1310 |
|
| 1311 |
<context name="expansion" attribute="Expansion" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 1312 |
<Detect2Chars char="$" char1="(" attribute="Expansion Delimiter" context="expansionArgumentsAndEnd.functionOrVariableName" /> |
| 1313 |
</context> |
| 1314 |
|
| 1315 |
<context name="expansionAndEscape" attribute="Expansion" lineEndContext="#pop!error" fallthroughContext="#pop!error"> |
| 1316 |
<DetectChar char="\" lookAhead="true" context="escape" /> |
| 1317 |
<Detect2Chars char="$" char1="(" attribute="Expansion Delimiter" context="expansionArgumentsAndEnd.functionOrVariableName" /> |
| 1318 |
</context> |
| 1319 |
|
| 1320 |
<context name="wsOrComment" attribute="Plain" lineEndContext="#stay"> |
| 1321 |
<DetectSpaces /> |
| 1322 |
<DetectChar char="#" lookAhead="true" context="lineComment" /> |
| 1323 |
</context> |
| 1324 |
|
| 1325 |
<context name="ignoreBadComChars" attribute="Bad Character" lineEndContext="#stay"> |
| 1326 |
<RegExpr String="&badCom;+" attribute="Bad Character" context="#stay" /> |
| 1327 |
</context> |
| 1328 |
|
| 1329 |
<context name="ignoreBadParamChars" attribute="Bad Character" lineEndContext="#stay"> |
| 1330 |
<RegExpr String="&badParam;+" attribute="Bad Character" context="#stay" /> |
| 1331 |
</context> |
| 1332 |
|
| 1333 |
<context name="lineComment" attribute="Comment" lineEndContext="#pop"> |
| 1334 |
<DetectSpaces /> |
| 1335 |
<IncludeRules context="##Comments" /> |
| 1336 |
</context> |
| 1337 |
</contexts> |
| 1338 |
<itemDatas> |
| 1339 |
<itemData name="Argument Separator" defStyleNum="dsKeyword" spellChecking="false" /> |
| 1340 |
<itemData name="Assignment Operator" defStyleNum="dsChar" spellChecking="false" /> |
| 1341 |
<itemData name="Assignment Value" defStyleNum="dsString" spellChecking="false" /> |
| 1342 |
<itemData name="Bad Character" defStyleNum="dsAlert" spellChecking="false" /> |
| 1343 |
<itemData name="Bad Tristate Constant" defStyleNum="dsAlert" spellChecking="false" /> |
| 1344 |
<itemData name="Builtin Function" defStyleNum="dsBuiltIn" spellChecking="false" /> |
| 1345 |
<itemData name="Comment" defStyleNum="dsComment" spellChecking="true" /> |
| 1346 |
<itemData name="Constant Symbol" defStyleNum="dsString" spellChecking="false" /> |
| 1347 |
<itemData name="Deprecated Bad Choice Type" defStyleNum="dsAlert" spellChecking="false" strikeOut="true" /> |
| 1348 |
<itemData name="Deprecated Escaped Character" defStyleNum="dsSpecialChar" spellChecking="false" strikeOut="true" /> |
| 1349 |
<itemData name="Deprecated Expansion" defStyleNum="dsVariable" spellChecking="false" strikeOut="true" /> |
| 1350 |
<itemData name="Deprecated Identifier" defStyleNum="dsDataType" spellChecking="false" strikeOut="true" /> |
| 1351 |
<itemData name="Deprecated Keyword" defStyleNum="dsKeyword" spellChecking="false" strikeOut="true" /> |
| 1352 |
<itemData name="Deprecated Option" defStyleNum="dsOthers" spellChecking="false" strikeOut="true" /> |
| 1353 |
<itemData name="Deprecated Option: Equals Sign" defStyleNum="dsOperator" spellChecking="false" strikeOut="true" /> |
| 1354 |
<itemData name="Deprecated Property" defStyleNum="dsOthers" spellChecking="false" strikeOut="true" /> |
| 1355 |
<itemData name="Deprecated Quoted Option Value" defStyleNum="dsString" spellChecking="false" strikeOut="true" /> |
| 1356 |
<itemData name="Deprecated Type" defStyleNum="dsDataType" spellChecking="false" strikeOut="true" /> |
| 1357 |
<itemData name="Deprecated Unknown Option String" defStyleNum="dsAlert" italic="true" spellChecking="false" strikeOut="true" /> |
| 1358 |
<itemData name="Deprecated Unquoted Mainmenu Prompt" defStyleNum="dsString" spellChecking="false" strikeOut="true" /> |
| 1359 |
<itemData name="Deprecated Unquoted Option Value String" defStyleNum="dsString" spellChecking="false" strikeOut="true" /> |
| 1360 |
<itemData name="Deprecated Unquoted Option Value" defStyleNum="dsString" spellChecking="false" strikeOut="true" /> |
| 1361 |
<itemData name="Deprecated Unquoted Prompt" defStyleNum="dsNormal" spellChecking="true" strikeOut="true" /> |
| 1362 |
<itemData name="Deprecated Unquoted Source String" defStyleNum="dsString" spellChecking="false" strikeOut="true" /> |
| 1363 |
<itemData name="Deprecated Variable Symbol" defStyleNum="dsNormal" spellChecking="false" strikeOut="true" /> |
| 1364 |
<itemData name="Error" defStyleNum="dsError" spellChecking="false" /> |
| 1365 |
<itemData name="Escaped Character" defStyleNum="dsSpecialChar" spellChecking="false" /> |
| 1366 |
<itemData name="Expansion Delimiter" defStyleNum="dsChar" spellChecking="false" /> |
| 1367 |
<itemData name="Expansion" defStyleNum="dsDataType" spellChecking="false" /> |
| 1368 |
<itemData name="Expression Operator" defStyleNum="dsOperator" spellChecking="false" /> |
| 1369 |
<itemData name="Help Text" defStyleNum="dsVerbatimString" spellChecking="true" /> |
| 1370 |
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" /> |
| 1371 |
<itemData name="Link" defStyleNum="dsOthers" spellChecking="false" underline="false" /> |
| 1372 |
<itemData name="Option" defStyleNum="dsOthers" spellChecking="false" /> |
| 1373 |
<itemData name="Plain" defStyleNum="dsNormal" spellChecking="true" /> |
| 1374 |
<itemData name="Property" defStyleNum="dsOthers" spellChecking="false" /> |
| 1375 |
<itemData name="Quoted Mainmenu Prompt" defStyleNum="dsString" spellChecking="true" /> |
| 1376 |
<itemData name="Quoted Prompt" defStyleNum="dsString" spellChecking="true" /> |
| 1377 |
<itemData name="Quoted Source String" defStyleNum="dsString" spellChecking="false" /> |
| 1378 |
<itemData name="Source" defStyleNum="dsPreprocessor" spellChecking="false" /> |
| 1379 |
<itemData name="Tristate Constant" defStyleNum="dsConstant" spellChecking="false" /> |
| 1380 |
<itemData name="Type" defStyleNum="dsDataType" spellChecking="false" /> |
| 1381 |
<itemData name="Unknown Option" defStyleNum="dsAlert" italic="true" spellChecking="false" /> |
| 1382 |
<itemData name="Variable Symbol" defStyleNum="dsNormal" spellChecking="false" /> |
| 1383 |
<itemData name="Variable" defStyleNum="dsDataType" spellChecking="false" /> |
| 1384 |
</itemDatas> |
| 1385 |
</highlighting> |
| 1386 |
<general> |
| 1387 |
<comments> |
| 1388 |
<comment name="singleLine" start="#" /> |
| 1389 |
</comments> |
| 1390 |
<keywords weakDeliminator=".-" additionalDeliminator="'"" /> |
| 1391 |
</general> |
| 1392 |
</language> |
| 1393 |
<!-- kate: replace-tabs off; --> |