-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake.syn
More file actions
134 lines (128 loc) · 2.18 KB
/
make.syn
File metadata and controls
134 lines (128 loc) · 2.18 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
; TextPad syntax definition for BSD make Makefiles.
; 20051128
;
; Original definition is from the GNU Makefile syntax definition
; from Trevor Robinson.
;
; Modified for BSD syntax by Eric Huss.
;
; Note that this was based on the make used in FreeBSD, but is
; probably relevant to other BSD's as well.
;
; When adding a "Makefile" document class, you should call the
; document class something like "ZMakefile" so that it shows up
; last in the list of document classes. This is due to an issue
; that when you add "Makefile" as a file, it will not match because
; the "Text" document class defines "*." as one of its file types.
; The list appears to be processed in alphabetical order with the
; last match winning (or is that in reverse order with the first
; match winning?).
;
; XXX: There is a bug that special named targets (such as .PHONY)
; are not highlighted properly because in TextPad the Preprocessor
; highlighting takes precedence over other keywords. Hopefully some
; future version of TextPad will have a more sophisticated syntax
; definition.
C=1
[Syntax]
Namespace1 = 6
IgnoreCase = No
InitKeyWordChars = A-Za-z_.
KeyWordChars = A-Za-z0-9_.
BracketChars = {[()]}
OperatorChars = -+*/<>!~%^&|=
PreprocStart = .
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = #
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = Yes
StringStart = "
StringEnd = "
StringAlt = '
StringEsc = \
CharStart = '
CharEnd = '
CharEsc = \
[Preprocessor keywords]
.elif
.elifdef
.elifmake
.elifndef
.elifnmake
.else
.endfor
.endif
.error
.for
.if
.ifdef
.ifmake
.ifndef
.ifnmake
.include
.undef
.warning
defined
empty
exists
make
target
[Keywords 1]
; Variables recognized by make.
.ALLSRC
.ARCHIVE
.CURDIR
.IMPSRC
.INCLUDES
.LIBS
.MAKEFLAGS
.MEMBER
.OBJDIR
.OODATE
.PREFIX
.TARGET
.TARGETS
MACHINE
MACHINE_ARCH
MAKE
MFLAGS
PWD
[Keywords 2]
; Special sources.
.IGNORE
.MAKE
.NOTMAIN
.OPTIONAL
.PRECIOUS
.SILENT
.USE
.WAIT
[Keywords 3]
; Special targets.
.BEGIN
.DEFAULT
.END
.IGNORE
.INCLUDES
.INTERRUPT
.LIBS
.MAIN
.MAKEFLAGS
.MFLAGS
.NO_PARALLEL
.NOTPARALLEL
.ORDER
.PATH
.PHONY
.PRECIOUS
.SILENT
.SUFFIXES