blob: 5238a822bfd0eb38e862ad568c14e76c409880a8 (
plain)
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
|
# Note: this mode auto-expires after each token.
#
test.arguments += second-token
$* <";" >>EOO # semi
;
<newline>
EOO
$* <":" >>EOO # colon
:
<newline>
EOO
$* <"=foo" >>EOO # assign
=
'foo'
<newline>
EOO
$* <"+= foo" >>EOO # append
+=
'foo'
<newline>
EOO
$* <" =+ foo" >>EOO # prepend
=+
'foo'
<newline>
EOO
$* <"foo=bar" >>EOO # assign-leading
'foo=bar'
<newline>
EOO
$* <"foo+= bar" >>EOO # append-leading
'foo+='
'bar'
<newline>
EOO
$* <"foo =+bar" >>EOO # prepend-leading
'foo'
'=+bar'
<newline>
EOO
|