diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-13 12:00:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-13 12:00:38 +0200 |
commit | 0a56fad112fb59b07fa3ea03fe26b41b451ab886 (patch) | |
tree | f45b04a6bc86100e4361a2d02eb2a81b5ebf60c9 /old-tests/variable/override/buildfile | |
parent | 4c1a8d88e64f5b7bd1e82878ddc20c06f593df3e (diff) |
Update old tests to public/private variable model
Diffstat (limited to 'old-tests/variable/override/buildfile')
-rw-r--r-- | old-tests/variable/override/buildfile | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/old-tests/variable/override/buildfile b/old-tests/variable/override/buildfile index 2889f69..87dc273 100644 --- a/old-tests/variable/override/buildfile +++ b/old-tests/variable/override/buildfile @@ -1,57 +1,57 @@ -if ($t != [null]) +if ($p.t != [null]) { - [$t] v = [null] + [$p.t] p.v = [null] } -print "/ :" $(/: v) +print "/ :" $(/: p.v) -if ($a == as) +if ($p.a == as) { - v = x + p.v = x } -elif ($a == ap) +elif ($p.a == ap) { - v += s + p.v += s } -elif ($a == pr) +elif ($p.a == pr) { - v =+ p + p.v =+ p } -print ". :" $v +print ". :" $p.v d/ { - if ($d_a == as) + if ($p.d_a == as) { - v = x + p.v = x } - elif ($d_a == ap) + elif ($p.d_a == ap) { - v += s + p.v += s } - elif ($d_a == pr) + elif ($p.d_a == pr) { - v =+ p + p.v =+ p } - print "d :" $v + print "d :" $p.v - if ($d_t_a == as) + if ($p.d_t_a == as) { - file{t}: v = x + file{t}: p.v = x } - elif ($d_t_a == ap) + elif ($p.d_t_a == ap) { - file{t}: v += s + file{t}: p.v += s } - elif ($d_t_a == pr) + elif ($p.d_t_a == pr) { - file{t}: v =+ p + file{t}: p.v =+ p } - print "d/t :" $(file{t}: v) + print "d/t :" $(file{t}: p.v) } include p/ |