File: template.stx

package info (click to toggle)
biew 5.6.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,000 kB
  • ctags: 7,157
  • sloc: ansic: 50,860; asm: 809; makefile: 396; pascal: 371
file content (32 lines) | stat: -rw-r--r-- 778 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
;
; Template for syntax definition of biew project
;
#nosmart
[General]
Name=Put name here
; describes set of character which are used in words
WSet=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789

[Context]
; marks blocks which should be highlighted
; allows any special characters through C-syntax like description
; i.e.: \n - new line
;       \t - tabulation
;       \x \0x - hexadecimal value
;       \0 - oct value
;       \[1-9] - decimal value
; Note: Block will be marked only if founded set is not keyword
  <Comments>
    base=#...\n

[Keywords]
; describes whole keywords. Will be highlighted if left and right characters
; around the word are not contained in WSet.
base=for
base=in
alt=do

[Operators]
; describes 1-byte operators
base=$
base=\x3B