Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/jam.xml
Show All 18 Lines | |||||
19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
20 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 20 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
21 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 21 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
22 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 22 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
23 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 23 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
24 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | 24 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | ||
25 | IN THE SOFTWARE. | 25 | IN THE SOFTWARE. | ||
26 | --> | 26 | --> | ||
27 | <language name="Jam" version="5" kateversion="5.0" section="Other" extensions="Jam*;*.jam" mimetype="text/x-jam;text/x-Jamfile;text/x-Jamrules;text/x-Jambase" author="Mildred (silkensedai@online.fr)" license="MIT"> | 27 | <language name="Jam" version="6" kateversion="5.0" section="Other" extensions="Jam*;*.jam" mimetype="text/x-jam;text/x-Jamfile;text/x-Jamrules;text/x-Jambase" author="Mildred (silkensedai@online.fr)" license="MIT"> | ||
28 | <!-- | 28 | <!-- | ||
29 | Changelog | 29 | Changelog | ||
30 | 0.2 | 30 | 0.2 | ||
31 | * now tokens like [ ] { } ( ) : ; are not detected if there is no whitespace before and after | 31 | * now tokens like [ ] { } ( ) : ; are not detected if there is no whitespace before and after | ||
32 | * Jam* files are handled (example Jamrules or Jambase) | 32 | * Jam* files are handled (example Jamrules or Jambase) | ||
33 | * different colors | 33 | * different colors | ||
34 | * Subvariables are handled (example : $(varname[$(v)]) | 34 | * Subvariables are handled (example : $(varname[$(v)]) | ||
35 | * Include bash highlighting inside actions blocks | 35 | * Include bash highlighting inside actions blocks | ||
▲ Show 20 Lines • Show All 337 Lines • ▼ Show 20 Line(s) | 371 | <context attribute="Normal" lineEndContext="#stay" name="SubRule" fallthrough="true" fallthroughContext="#pop!SubRuleParam"> | |||
373 | <RegExpr attribute="Rule" context="#pop!SubRuleParam" String="&ident;"/> | 373 | <RegExpr attribute="Rule" context="#pop!SubRuleParam" String="&ident;"/> | ||
374 | </context> | 374 | </context> | ||
375 | 375 | | |||
376 | <context attribute="Normal" lineEndContext="#stay" name="SubRuleParam"> | 376 | <context attribute="Normal" lineEndContext="#stay" name="SubRuleParam"> | ||
377 | <IncludeRules context="Preprocess"/> | 377 | <IncludeRules context="Preprocess"/> | ||
378 | <WordDetect attribute="Operator" context="#stay" String=":"/> | 378 | <WordDetect attribute="Operator" context="#stay" String=":"/> | ||
379 | <WordDetect attribute="Operator" context="#pop#pop" String="]"/> | 379 | <WordDetect attribute="Operator" context="#pop#pop" String="]"/> | ||
380 | <RegExpr attribute="Feature" context="Property" String="<[^\t >]+>"/> | 380 | <RegExpr attribute="Feature" context="Property" String="<[^\t >]+>"/> | ||
381 | <RegExpr attribute="Normal" context="#stay" String="&ident;"/> | ||||
381 | <!-- auto-completion only --> | 382 | <!-- auto-completion only --> | ||
382 | <keyword attribute="Feature" context="#stay" String="features"/> | 383 | <keyword attribute="Feature" context="#stay" String="features"/> | ||
383 | </context> | 384 | </context> | ||
384 | 385 | | |||
385 | <!-- Actions, Rules definitions --> | 386 | <!-- Actions, Rules definitions --> | ||
386 | 387 | | |||
387 | <context attribute="Normal" lineEndContext="#stay" name="ActionDefinition"> | 388 | <context attribute="Normal" lineEndContext="#stay" name="ActionDefinition"> | ||
388 | <IncludeRules context="Preprocess"/> | 389 | <IncludeRules context="Preprocess"/> | ||
▲ Show 20 Lines • Show All 201 Lines • Show Last 20 Lines |