aboutsummaryrefslogtreecommitdiff
path: root/old-tests/variable/qualified/buildfile
blob: 870b808c01f8227c25687f0ff47f3ae386e048dd (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
#v = (foo:) # error: variable name expected before ':'
#v = (:bar) # error: scope/target expected after ':'

print (foo:bar)
print (foo :bar)
print (foo: bar)
print (foo : bar)
print (foo/: bar)
print (foo/file{fox}: bar)

bar=bar
sub/:
{
  bar=Bar
  fsdir{./}: bar=BAR
  file{x}: bar=BBAARR
}

print $(./:bar)
print $(sub/:bar)
print $(fsdir{sub/}:bar)
print $(sub/file{x}:bar)

print $(sub/file{y}:bar)
print $(sup/:bar)

./: