Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/brightscript.xml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <!DOCTYPE language SYSTEM "language.dtd"> | 2 | <!DOCTYPE language SYSTEM "language.dtd"> | ||
3 | <language | 3 | <language | ||
4 | name="BrightScript" | 4 | name="BrightScript" | ||
5 | section="Scripts" | 5 | section="Scripts" | ||
6 | extensions="*.brs" | 6 | extensions="*.brs" | ||
7 | version="0" | 7 | version="1" | ||
8 | kateversion="5.0" | 8 | kateversion="5.0" | ||
9 | author="Daniel Levin (dendy.ua@gmail.com)" | 9 | author="Daniel Levin (dendy.ua@gmail.com)" | ||
10 | license="MIT"> | 10 | license="MIT"> | ||
11 | 11 | | |||
12 | <highlighting> | 12 | <highlighting> | ||
13 | 13 | | |||
14 | 14 | | |||
15 | 15 | | |||
▲ Show 20 Lines • Show All 289 Lines • ▼ Show 20 Line(s) | |||||
305 | </context> | 305 | </context> | ||
306 | 306 | | |||
307 | <context name="sub" attribute="g" lineEndContext="#stay" fallthrough="true" fallthroughContext="sub_name"> | 307 | <context name="sub" attribute="g" lineEndContext="#stay" fallthrough="true" fallthroughContext="sub_name"> | ||
308 | </context> | 308 | </context> | ||
309 | 309 | | |||
310 | <context name="sub_name" attribute="g" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop!sub_code"> | 310 | <context name="sub_name" attribute="g" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop!sub_code"> | ||
311 | <DetectSpaces/> | 311 | <DetectSpaces/> | ||
312 | <DetectIdentifier attribute="func" context="#pop!sub_open_brace"/> | 312 | <DetectIdentifier attribute="func" context="#pop!sub_open_brace"/> | ||
313 | <DetectChar char="(" context="#pop!sub_open_brace" lookAhead="true"/> | ||||
313 | </context> | 314 | </context> | ||
314 | 315 | | |||
315 | <context name="sub_open_brace" attribute="g" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop!sub_code"> | 316 | <context name="sub_open_brace" attribute="g" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop!sub_code"> | ||
316 | <DetectSpaces/> | 317 | <DetectSpaces/> | ||
317 | <DetectChar char="(" attribute="scope" context="sub_args"/> | 318 | <DetectChar char="(" attribute="scope" context="sub_args"/> | ||
318 | </context> | 319 | </context> | ||
319 | 320 | | |||
320 | <context name="sub_args" attribute="g" lineEndContext="#stay" fallthroughContext="#pop#pop!sub_code"> | 321 | <context name="sub_args" attribute="g" lineEndContext="#stay" fallthroughContext="#pop#pop!sub_code"> | ||
▲ Show 20 Lines • Show All 466 Lines • Show Last 20 Lines |