File: HX_makefile.syntax

package info (click to toggle)
hxtools 20180301-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,600 kB
  • sloc: ansic: 5,926; perl: 3,905; sh: 1,638; cpp: 342; makefile: 191; asm: 173
file content (43 lines) | stat: -rw-r--r-- 1,226 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
# -*- cooleditsyntax -*-

context default
	keyword $(*) green
	keyword ${*} brightgreen
	keyword whole linestart include magenta
	keyword whole linestart ifdef magenta
	keyword whole linestart ifndef magenta
	keyword whole linestart endif magenta
	keyword whole linestart if magenta
	keyword whole linestart ifeq magenta
	keyword whole linestart ifneq magenta
	keyword whole linestart else magenta
	keyword linestart \t lightgray red
	keyword whole .PHONY white
	keyword whole .NOEXPORT white
	keyword = white
	keyword : yellow
	keyword \\\n yellow
# this handles strange cases like @something@@somethingelse@ properly
	keyword whole @+@ brightmagenta black
	keyword @+@ brightmagenta black

context linestart # \n yellow
	spellcheck
	keyword whole @+@ brightmagenta black
	keyword @+@ brightmagenta black

context exclusive = \n brightcyan
	keyword \\\n yellow
	keyword $(*) green
	keyword ${*} brightgreen
	keyword linestart \t lightgray red
	keyword whole @+@ brightmagenta black
	keyword @+@ brightmagenta black

context exclusive linestart \t \n
	keyword \\\n yellow
	keyword $(*) green
	keyword ${*} brightgreen
	keyword linestart \t lightgray red
	keyword whole @+@ brightmagenta black
	keyword @+@ brightmagenta black