aboutsummaryrefslogtreecommitdiff
path: root/old-tests/variable/override/buildfile
blob: c0330cbf9904ae786add8d7dde59b38776a8150f (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
if ($p.t != [null])
{
  [$p.t] p.v = [null]
}

/:

print "/     :" $(/: p.v)

if ($p.a == as)
{
  p.v = x
}
elif ($p.a == ap)
{
  p.v += s
}
elif ($p.a == pr)
{
  p.v =+ p
}

print ".     :" $p.v

d/
{
  file{t}:

  if ($p.d_a == as)
  {
    p.v = x
  }
  elif ($p.d_a == ap)
  {
    p.v += s
  }
  elif ($p.d_a == pr)
  {
    p.v =+ p
  }

  print "d     :" $p.v


  if ($p.d_t_a == as)
  {
    file{t}: p.v = x
  }
  elif ($p.d_t_a == ap)
  {
    file{t}: p.v += s
  }
  elif ($p.d_t_a == pr)
  {
    file{t}: p.v =+ p
  }

  print "d/t   :" $(file{t}: p.v)
}

include p/
./: