File: ninja

package info (click to toggle)
dte 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,152 kB
  • sloc: ansic: 28,421; sh: 94; awk: 56; makefile: 13; sed: 1
file content (30 lines) | stat: -rw-r--r-- 479 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
syntax ninja

state line-start code
    char " \t" this
    char # comment
    noeat code

state comment
    char "\n" line-start
    eat this

state code
    char "\n" line-start
    str "$\n" line-start special
    char -b \$ dollar
    eat this

state dollar variable
    char -b ' $:' escape
    noeat variable

state variable
    char " \t" code
    char "\n" line-start
    char "\x20-\x7e\xa1-\xff" this
    eat code error

state escape
    recolor special
    noeat code