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/p/buildfile | |
parent | 4c1a8d88e64f5b7bd1e82878ddc20c06f593df3e (diff) |
Update old tests to public/private variable model
Diffstat (limited to 'old-tests/variable/override/p/buildfile')
-rw-r--r-- | old-tests/variable/override/p/buildfile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/old-tests/variable/override/p/buildfile b/old-tests/variable/override/p/buildfile index 5b84925..166d869 100644 --- a/old-tests/variable/override/p/buildfile +++ b/old-tests/variable/override/p/buildfile @@ -1,49 +1,49 @@ -if ($p_a == as) +if ($p.p_a == as) { - v = x + p.v = x } -elif ($p_a == ap) +elif ($p.p_a == ap) { - v += s + p.v += s } -elif ($p_a == pr) +elif ($p.p_a == pr) { - v =+ p + p.v =+ p } -print "p :" $v +print "p :" $p.v d/ { - if ($p_d_a == as) + if ($p.p_d_a == as) { - v = x + p.v = x } - elif ($p_d_a == ap) + elif ($p.p_d_a == ap) { - v += s + p.v += s } - elif ($p_d_a == pr) + elif ($p.p_d_a == pr) { - v =+ p + p.v =+ p } - print "p/d :" $v + print "p/d :" $p.v - if ($p_d_t_a == as) + if ($p.p_d_t_a == as) { - file{t}: v = x + file{t}: p.v = x } - elif ($p_d_t_a == ap) + elif ($p.p_d_t_a == ap) { - file{t}: v += s + file{t}: p.v += s } - elif ($p_d_t_a == pr) + elif ($p.p_d_t_a == pr) { - file{t}: v =+ p + file{t}: p.v =+ p } - print "p/d/t :" $(file{t}: v) + print "p/d/t :" $(file{t}: p.v) } ./: |