aboutsummaryrefslogtreecommitdiff
path: root/old-tests/variable/override/p/buildfile
blob: 166d869ef04287f2c30b7c93af274e4533a6979f (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
if ($p.p_a == as)
{
  p.v = x
}
elif ($p.p_a == ap)
{
  p.v += s
}
elif ($p.p_a == pr)
{
  p.v =+ p
}

print "p     :" $p.v

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

  print "p/d   :" $p.v

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

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

./: